type ProvisionOptions = { fetchImpl?: typeof fetch; routerUrl?: string; resolveAccessToken?: () => Promise; deviceName?: string; }; export declare class TunnelRegistrationProvisionError extends Error { readonly code: string; readonly status: number; constructor(message: string, code: string, status: number); } /** Exchange a narrowly scoped XOPC OAuth grant for a tunnel registration key. */ export declare function provisionTunnelRegistrationKey(options?: ProvisionOptions): Promise; export {};