export declare function parentOf(pid: number): number | undefined; export interface SessionFiles { write(auth: { addr: string; key: string; alias?: string; }): void; remove(): void; } export declare function createSessionFiles(dir: string): SessionFiles; /** * The name of this Claude session, shared with the SessionStart hook that sets the session title: * whichever of the two runs first writes it (`.name`, exclusive create), the other adopts it. */ export declare function claimSessionName(dir: string, make: () => string): string; /** The hub gave the session a different name than the one claimed (it was taken): keep them equal. */ export declare function settleSessionName(dir: string, name: string): void; /** * The address of the Claude session this process runs under, if any: the session's MCP server left * its credentials under the pid of one of the ancestors. Never throws. */ export declare function findAncestorSessionAddr(dir: string, from?: number): string | undefined; //# sourceMappingURL=session-files.d.ts.map