import { type CheckpointMatch } from "./matcher.js"; import type { TokenOptimizerConfig } from "../util/env.js"; import type { TrendsStore } from "../storage/trends.js"; export declare function restoreCheckpoint(dataDir: string, userPrompt: string, currentSessionId: string, config: TokenOptimizerConfig, /** Optional: when supplied and the prompt shows resume-intent, the lean * reconstruction path fires and savings are credited to trends.db. */ trendsStore?: TrendsStore, /** Working directory for same-project scoping. Comes from ctx.project.path * or process.cwd() at call time (the caller decides). */ cwd?: string, /** Optional: scopes the scan to one project's session subdirectory. Appended * last so existing call sites keep their argument order. */ projectSlug?: string): CheckpointMatch | null; //# sourceMappingURL=restore.d.ts.map