/** Hermes built-in caps when config.yaml is absent. */ export declare const MEMORY_CHAR_LIMIT = 2200; export declare const USER_CHAR_LIMIT = 1375; /** Internal markers — skip re-append when already present. */ export declare const INJECTION_MARKER_BEGIN = ""; export declare const INJECTION_MARKER_END = ""; export type MemorySnapshot = { memoryText: string | null; userText: string | null; memoryPath: string; userPath: string; warnings: string[]; /** Pre-rendered Hermes-shaped blocks (stable for the session). */ rendered: string; }; export type RenderSnapshotInput = { memoryText: string | null; userText: string | null; memoryLimit?: number; userLimit?: number; }; export type SnapshotLimits = { memoryLimit?: number; userLimit?: number; }; /** * Short Hermes-compatible guidance appended before the snapshot blocks. * Describes how the injected memories are used (tool CRUD lands later). */ export declare function memoryGuidanceText(): string; export declare function renderSnapshotBlock(input: RenderSnapshotInput): string; /** Load MEMORY.md / USER.md once for the session (call from session_start). */ export declare function loadMemorySnapshot(memoryDirectory: string, limits?: SnapshotLimits): MemorySnapshot; /** * Append guidance + frozen snapshot to Pi's system prompt. * Preserves `systemPrompt` as a byte-for-byte prefix. Skips if marker present. */ export declare function appendMemoryToSystemPrompt(systemPrompt: string, snapshot: MemorySnapshot, guidance?: string): string; //# sourceMappingURL=prompt.d.ts.map