export declare const FILE_READ_GATE_MIN_BYTES: number; export interface ReadGateRequest { adapter: string; toolName: string; toolInput: Record; agentId: string; workspace: string; enabled: boolean; } /** Whether the file has more lines than `count`, reading one chunk at a time. Null when unreadable. */ export declare function fileHasMoreLinesThan(path: string, count: number): boolean | null; /** * The file a Read would gate, or undefined when any cheap condition fails: * Claude Code main session (never subagents or other clients), gate enabled, a * single file_path Read starting at line 1, a code file inside the workspace * between 32 KB and the smart-tool limit, and a Read that returns the whole file. */ export declare function readGateCandidate(request: ReadGateRequest): { path: string; mtimeMs: number; } | undefined; /** Newest update time among the memories, in epoch milliseconds; 0 when none is known. */ export declare function newestMemoryEpoch(value: unknown): number; /** The deny reason shown to Claude. Memory titles are history, never the file's current contents. */ export declare function readGateReason(requestedPath: string, memoryIds: readonly string[], context: string): string;