import type { BoundedAsyncStream } from '../backend-contract/streams.js'; import type { BleConnectionEvent, BleManager, BlePeer, ConnectOptions, FindOptions, PeerAddress, ScanOptions, ScanSession } from '../public/ble-manager.js'; import type { BleAdapter } from '../public/ble-adapter.js'; import type { BleCapabilities } from '../public/capabilities.js'; import type { GattDatabase } from '../public/gatt.js'; import type { BleDiagnostics } from '../public/diagnostics.js'; import type { BlePeerDirectory } from '../public/peer-directory.js'; import type { PeerReference } from '../public/peer-reference.js'; import type { BleSecurity } from '../public/security.js'; import { type CleanupRecord as PublicCleanupRecord } from '../public/cleanup.js'; import { IpcBleManager } from './manager.js'; export interface IpcPublicManagerOptions { readonly requireScanPlan?: boolean; readonly discoveryKind?: BleManager['discovery']['kind']; readonly capabilities?: BleCapabilities; readonly adapter?: BleAdapter; readonly diagnostics?: BleDiagnostics; readonly peers?: BlePeerDirectory; readonly gattDeliverySelection?: 'unknown' | 'controllable'; } export declare class IpcPublicManagerAdapter implements BleManager { private readonly ipc; readonly capabilities: BleCapabilities; readonly adapter: BleAdapter; readonly diagnostics: BleDiagnostics; readonly peers: BlePeerDirectory; readonly security: BleSecurity; readonly discovery: BleManager['discovery']; private readonly requireScanPlan; private readonly gattDeliverySelection; constructor(ipc: IpcBleManager, options?: IpcPublicManagerOptions); scan(options?: ScanOptions): Promise; find(options?: FindOptions): Promise; choose(_options?: import('../public/ble-manager.js').ChooseOptions): Promise; connect(peer: BlePeer | string | PeerReference | PeerAddress, options?: ConnectOptions): Promise; withConnection(peer: BlePeer | string, options: ConnectOptions, action: (connection: import('../public/ble-manager.js').BleConnection) => Promise): Promise; withScan(options: ScanOptions, action: (scan: ScanSession) => Promise): Promise; withDiscoveredConnection(peer: BlePeer | string, options: ConnectOptions, action: (scope: { readonly connection: import('../public/ble-manager.js').BleConnection; readonly gatt: GattDatabase; }) => Promise): Promise; destroy(): Promise; /** Low-level host seam retained for Tauri's existing deterministic tests. */ adapterState(): Promise; } /** @internal Shared IPC lifecycle projection used by the Tauri and Electron façade. */ export declare function mapIpcConnectionEvents(source: BoundedAsyncStream, expected: { readonly attachmentId: string; readonly peerId: string; readonly connectionId: string; readonly ownerLeaseId: string; readonly connectionGeneration: string; }): AsyncIterable; //# sourceMappingURL=public-manager.d.ts.map