export interface Transaction {
    redirectUri: string;
    onForeground(): void | Promise<void>;
    onUrl(url: string): void | Promise<void>;
}
export declare class SwedishBankIDTransaction implements Transaction {
    redirectUri: string;
    onComplete: () => void;
    onCancel: () => void;
    constructor(redirectUri: string, onComplete: () => void, onCancel: () => void);
    onForeground(): void;
    onUrl(url: string): void;
}
export declare class DanishMitIDTransaction implements Transaction {
    redirectUri: string;
    resumeUrl: string | null;
    onComplete: (url: string) => void;
    constructor(redirectUri: string, resumeUrl: string | null, onComplete: (url: string) => void);
    onForeground(): void;
    onUrl(url: string): void;
}
//# sourceMappingURL=transaction.d.ts.map