export declare function managedServesDir(): string; export interface ServeRecord { readonly fleetKey: string; readonly apiKey: string; readonly servePid: number; readonly runnerPid: number; readonly port: number; readonly host: string; readonly baseURL: string; readonly configPath: string; readonly startedAt: string; readonly idleTimeoutMs: number; } export declare function consumersDir(fleetKey: string): string; export declare function lockPath(fleetKey: string): string; export declare function isProcessAlive(pid: number): boolean; export declare function ensureManagedServesDir(): Promise; export declare function writeRecord(record: ServeRecord): Promise; export declare function readRecord(fleetKey: string): Promise; export declare function readAllRecords(): Promise; export declare function removeRecord(fleetKey: string, opts?: { preserveConsumers?: boolean; }): void; export declare function addConsumer(fleetKey: string, consumerId: string | number): Promise; export declare function removeConsumer(fleetKey: string, consumerId: string | number): void; export declare function liveConsumers(fleetKey: string): Promise; export declare function healthCheck(baseURL: string, apiKey: string | undefined, fetchImpl: typeof fetch, timeoutMs?: number): Promise; export declare function findReusableServe(fleetKey: string, fetchImpl: typeof fetch): Promise; export declare function sweepServes(fetchImpl?: typeof fetch): Promise; export declare const RUNNER_PARAMS_STALE_MS: number; export declare function ensureDirSync(): void; export declare function writeRecordSync(record: ServeRecord): void; //# sourceMappingURL=registry.d.ts.map