export interface DiscoveryRecord { version: 1; pid: number; startedAt: string; ipcUrl: string; bearerToken: string; } export type DiscoveryOwner = Pick; export declare function mintBearerToken(): string; export declare function writeDiscoveryFile(path: string, record: DiscoveryRecord): void; export declare function readDiscoveryFile(path: string): DiscoveryRecord | null; export declare function deleteDiscoveryFile(path: string): void; export declare function deleteDiscoveryFileIfOwned(path: string, owner: DiscoveryOwner): boolean; export declare function isDiscoveryOwner(record: DiscoveryRecord, owner: DiscoveryOwner): boolean; //# sourceMappingURL=discovery-file.d.ts.map