export interface PairingCodeResponse { code: string; expiresAt: string; ttlSeconds?: number; } export interface PairedDeviceResponse { id: string; name: string; kind?: string; createdAt?: string; lastSeenAt?: string; lastIp?: string; userAgent?: string; current?: boolean; } export interface UnpairDeviceResponse { status: "ok"; current: boolean; } export declare function gatewayHttpBase(port: number, host?: string): string; export declare function requestPairingCode(opts: { port: number; host?: string; jinnHome?: string; fetchImpl?: typeof fetch; }): Promise; export declare function requestPairedDevices(opts: { port: number; host?: string; token: string; fetchImpl?: typeof fetch; }): Promise; export declare function requestUnpairDevice(opts: { port: number; host?: string; token: string; deviceId: string; fetchImpl?: typeof fetch; }): Promise; export declare function formatPairingInstructions(pairing: PairingCodeResponse, port: number, instance?: string): string; export declare function formatPairedDevices(devices: PairedDeviceResponse[], instance?: string): string; /** * Printed after pairing the default instance when others exist, so an operator * who meant one of them sees its exact command rather than a `` * placeholder they have to fill in correctly from memory. */ export declare function formatPairInstanceNudge(otherInstances: string[]): string; export declare function runPair(opts?: { json?: boolean; }): Promise; export declare function runUnpair(deviceId?: string, opts?: { json?: boolean; }): Promise; //# sourceMappingURL=pair.d.ts.map