export type ScanResultType = 'lightning' | 'ecash' | 'private-key' | 'link' | 'unknown';
export interface ScanResult {
    type: ScanResultType;
    data: string;
}
export declare const scanResult: {
    subscribe: (this: void, run: import("svelte/store").Subscriber<ScanResult | null>, invalidate?: () => void) => import("svelte/store").Unsubscriber;
    setResult: (type: ScanResultType, data: string) => void;
    clearResult: () => void;
};
export declare function identifyScanType(data: string): ScanResultType;
