import { Observable } from "rxjs";
export interface LinkFlowOptions {
    darkMode: boolean;
    version: string;
    sessionId: string;
    sessionSecret: string;
    walletLinkUrl: string;
    connected$: Observable<boolean>;
}
export declare class LinkFlow {
    private readonly darkMode;
    private readonly version;
    private readonly sessionId;
    private readonly sessionSecret;
    private readonly walletLinkUrl;
    private readonly connected$;
    private readonly subscriptions;
    private isConnected;
    private isOpen;
    private onCancel;
    private root;
    constructor(options: Readonly<LinkFlowOptions>);
    attach(el: Element): void;
    detach(): void;
    open(options: {
        onCancel: () => void;
    }): void;
    close(): void;
    private render;
}
