import type { ObservationRepository } from "../db/observations"; import type { SessionRepository } from "../db/sessions"; import type { SummaryRepository } from "../db/summaries"; import type { UserObservationRepository } from "../db/user-memory"; import type { OpenMemConfig } from "../types"; /** * Factory for the `experimental.chat.system.transform` hook. * * Appends relevant past-session context (summaries + observation index) * to the system prompt within the configured token budget. * * The handler NEVER throws. */ export declare function createContextInjectionHook(config: OpenMemConfig, observations: ObservationRepository, sessions: SessionRepository, summaries: SummaryRepository, projectPath: string, userObservationRepo?: UserObservationRepository | null): (_input: { sessionID?: string; model: string; }, output: { system: string[]; }) => Promise; //# sourceMappingURL=context-inject.d.ts.map