import { AuthMethod } from '@wayke-se/ecom'; import HtmlNode from '../Extension/HtmlNode'; interface BankIdSignProps { qrCode?: string; autoLaunchUrl?: string; method: AuthMethod; errorMessage?: string; descriptionQrCode: string; descriptionSameDevice: string; info?: string; title?: string; description?: string; finalizing?: boolean; readonly onStart: (method: AuthMethod) => void; readonly onAbort: () => void; readonly onSameDeviceClick?: () => void; } declare class BankIdSign extends HtmlNode { private readonly props; constructor(element: HTMLElement, props: BankIdSignProps); update(method: AuthMethod, value?: string): void; setErrorMessage(errorMessage?: string): void; setInfo(info?: string): void; setTitle(title?: string): void; setDescription(description?: string): void; setFinalizing(finalizing?: boolean): void; render(): void; } export default BankIdSign;