export { BROWSER_EXTENSION_ID, BROWSER_NATIVE_HOST_NAME } from './extension-identity.js'; export type BrowserNativeBootstrap = { type: 'bootstrap'; extensionId: string; publicKeyJwk: unknown; publicKeyThumbprint: string; nonce: string; }; export type BrowserNativeBootstrapResult = { ok: true; gatewayUrl: string; invitation: string; expiresAt: number; }; export declare function encodeNativeMessage(value: unknown): Buffer; export declare function decodeNativeMessage(buffer: Buffer): unknown; export declare function createBrowserNativeBootstrap(configPath: string, request: Omit): BrowserNativeBootstrapResult; export declare function runBrowserNativeMessagingHost(configPath: string): Promise;