import type { AgentMessage } from '@earendil-works/pi-agent-core'; import type { Config } from '../../config/schema.js'; export interface VoiceMemorySnapshot { block: string; references: Array<{ kind: 'assertion' | 'knowledge'; id: string; updatedAt: number; }>; isCurrent: () => boolean; subscribe: (invalidate: () => void) => () => void; } export declare function voiceMemoryEnabled(config: Config, sessionKey: string): boolean; export declare function voiceMemoryQuery(history: AgentMessage[]): string; export declare function buildVoiceMemoryContext(input: { getConfig: () => Config; sessionKey: string; workspaceId: string; projectId?: string; history: AgentMessage[]; maxChars: number; }): VoiceMemorySnapshot | undefined;