import type { FileHandle } from 'node:fs/promises'; import { type SessionIdentity } from './types.js'; export declare const MAX_LINE: number; /** Only regular files whose resolved path stays inside the selected directory. */ export declare function openSession(root: string, file: string): Promise; export declare function readIdentity(root: string, file: string): Promise; export interface SessionList { root: SessionIdentity | null; helpers: SessionIdentity[]; partial: boolean; error: string; } export declare function listSessions(root: string, rootFile: string, expectedId?: string): Promise; //# sourceMappingURL=files.d.ts.map