export interface ScannerCoordinationApi { claim(): Promise; release(leaseId: string): Promise; } export declare function __setScannerCoordinationForTests(api: ScannerCoordinationApi | undefined): void; /** * One native scanner claim. Cleanup first confirms plugin-blec scan teardown, * then runs any post-scan GATT cleanup, and only then releases native ownership. */ export declare class DgScannerLease { private readonly coordination; private readonly leaseId; private cleanupPromise; private released; private constructor(); static claim(): Promise; get isReleased(): boolean; cleanup(stopScan: () => Promise, afterStop?: () => Promise): Promise; } //# sourceMappingURL=scanner-coordination.d.ts.map