import { type MemoryPreflightPrefsInput } from './memory-preflight-config.js'; import { type MemoryPreflightResult } from './memory-preflight-support.js'; export type { MemoryPreflightResult }; export declare class MemoryPreflightService { private readonly reader; private readonly config; /** path -> body; sub-agent-requested memo contents (Task 4 deviation, see module header). */ private readonly cachedMemoContents; constructor(projectRoot: string, prefs: MemoryPreflightPrefsInput); cacheMemoContent(path: string, content: string): void; fetchBlock(taskTitle: string): Promise; private selectAndCompose; } /** * `fetchBlock`. The bare role ("rd") carries almost no relevance signal, * so the first line of the task brief is appended (truncated) to give the * fuzzy kernel something to rank against. Pure and fail-soft. */ export declare function deriveMemoryQuery(role: string, taskBody: string | undefined): string;