import type { PublicSaveMemoryInput } from '@jungjaehoon/mama-core'; import type { ChannelConfig, NormalizedItem } from '../connectors/framework/types.js'; export type RawBackedMemorySaveInput = PublicSaveMemoryInput; export interface RawBackedMemoryCandidate extends PublicSaveMemoryInput { rawSourceId: string; } export interface RawBackedMemoryBuildOptions { channelConfig?: ChannelConfig & Record; entityObservationIdsBySourceId?: Map; } export interface RawBackedMemorySaveResult { success: boolean; id: string; } export interface RawBackedMemoryIngestOptions extends RawBackedMemoryBuildOptions { memoryExists?: (topic: string) => boolean; saveMemory?: (input: RawBackedMemorySaveInput) => Promise; } export interface RawBackedMemoryIngestResult { candidatesBuilt: number; saved: number; skippedExisting: number; } export declare function buildRawBackedMemoryCandidates(items: NormalizedItem[], options?: RawBackedMemoryBuildOptions): RawBackedMemoryCandidate[]; export declare function ingestRawBackedMemoryCandidates(items: NormalizedItem[], options?: RawBackedMemoryIngestOptions): Promise; //# sourceMappingURL=raw-backed-memory-ingest.d.ts.map