import { Error } from "gracely";
import { Token } from "authly";
import { Trigger } from "smoothly";
import { MerchantKeyInfo } from "../model";
export declare class PayfuncCardInput {
  frame: HTMLSmoothlyFrameElement;
  apiKey: string;
  state: "failed" | "succeeded" | "processing" | "created";
  value?: Token;
  verify?: {
    show?: boolean;
    url: string;
    data: Record<string, string>;
  };
  cosmetic?: string | {
    text?: {
      background?: string;
      color?: string;
    };
    lineColor?: string;
    fontFamily?: string;
    dangerColor?: string;
  };
  theme?: string;
  private received?;
  merchant?: MerchantKeyInfo;
  private responseTimer?;
  componentWillLoad(): Promise<void>;
  verifyTimer(): void;
  handleTrigger(event: CustomEvent<Trigger>): Promise<void>;
  submit(input: Token | undefined, error?: Error): Promise<Token | Error | undefined>;
  render(): any[];
}
