import { EventEmitter } from "../../stencil.core";
import { Payload, Token } from "authly";
import { Trigger } from "smoothly-model";
import { Authorization } from "@cardfunc/model";
import { AuthorizationCreatableSafe } from "../model";
export declare class Form {
    frame: HTMLSmoothlyFrameElement;
    apiKey: string;
    state: "failed" | "succeeded" | "processing" | "created";
    value?: AuthorizationCreatableSafe;
    theme?: string;
    verify?: {
        pareq: string;
        url: string;
        issuer: string;
    };
    authorization?: AuthorizationCreatableSafe;
    changed: EventEmitter<Authorization>;
    private received?;
    payload?: Payload;
    componentWillLoad(): void;
    handleTrigger(event: CustomEvent<Trigger>): Promise<void>;
    submit(authorization: AuthorizationCreatableSafe): Promise<Authorization | Token>;
    render(): any[];
}
