import { LitElement, nothing } from "lit"; import type { SimpleComponentPayload, InteractiveFlowPayload, ComponentActionResponse } from "@ringg/core"; import "./calendar-step"; import "./form-step"; import "./buttons-step"; import "./confirmation-step"; type ComponentPayload = SimpleComponentPayload | InteractiveFlowPayload; type ApiCallFn = (method: string, endpoint: string, payload: Record) => Promise; type SendResponseFn = (componentId: string, responseData: Record) => Promise; export declare class InteractiveFlow extends LitElement { static styles: import("lit").CSSResult[]; initialComponent: ComponentPayload; onApiCall?: ApiCallFn; onSendResponse?: SendResponseFn; private _currentComponent; private _isLoading; private _isCompleted; connectedCallback(): void; render(): import("lit").TemplateResult<1> | typeof nothing; private _handleSubmit; } declare global { interface HTMLElementTagNameMap { "ringg-interactive-flow": InteractiveFlow; } } export {}; //# sourceMappingURL=interactive-flow.d.ts.map