import type { MemoryId } from '../../types/ids/index.js'; import type { MemoryIndexEntry, MemoryStore } from '../../types/memory/index.js'; /** Every record, archived included, for resolving names. One store read. */ export declare function allMemoryEntries(store: MemoryStore): Promise; export type MemoryReference = { readonly found: true; readonly id: MemoryId; /** The listing read to resolve a name, reused by a caller that needs it. */ readonly entries?: readonly MemoryIndexEntry[]; } | { readonly found: false; readonly name: string; }; /** * What a model-authored `id` refers to: a UUID is taken as an id, a memory * name — what the prompt's index shows — is looked up through the store's own * listing, never used as a key. Anything else goes through `asMemoryId`, which * refuses it. */ export declare function resolveMemoryReference(store: MemoryStore, reference: string): Promise; //# sourceMappingURL=resolve.d.ts.map