import { FlowExecutor } from "@goauthentik/flow/FlowExecutor"; import { customElement, property } from "lit/decorators.js"; import { UiThemeEnum } from "@goauthentik/api"; @customElement("ak-storybook-interface-flow") export class StoryFlowInterface extends FlowExecutor { @property() storyTheme: UiThemeEnum = UiThemeEnum.Dark; async getTheme(): Promise { return this.storyTheme; } } declare global { interface HTMLElementTagNameMap { "ak-storybook-interface-flow": StoryFlowInterface; } }