import * as fs from "node:fs/promises"; export interface GatewayRendezvous { pid: number; nonce: string; endpoint: string; productVersion: string; protocolVersion: string; bindingFormatVersion: number; registrySchemaVersion: number; startedAt: string; } export declare class GatewayOwnershipError extends Error { constructor(message?: string); } export declare class GatewayStateStore { readonly directory: string; readonly lockPath: string; readonly rendezvousPath: string; readonly credentialPath: string; constructor(directory?: string); private ensureDirectory; credential(): Promise; acquire(nonce: string): Promise; publish(endpoint: string, nonce: string): Promise; read(): Promise; recoverStaleOwnership(): Promise; release(nonce: string, lock: fs.FileHandle): Promise; } //# sourceMappingURL=gateway-state.d.ts.map