import { TranscriptImageRef, TranscriptPage } from "@agimon-ai/po-core/sessionProtocol"; //#region src/web/stores/imageRefStore.d.ts type ImageRef = TranscriptImageRef['ref']; type EntryReader = (entryId: string) => Promise; /** Lets images in the fold under `storeKey` read their saved entry. The transcript paging that fold binds it. */ export declare function bindImageReader(storeKey: string, read: EntryReader): () => void; /** The base64 data of an image a transcript sent by reference, read from the saved entry that holds it. */ export declare function loadImageRef(storeKey: string, ref: ImageRef): Promise; /** The fold whose saved entries an image reference points into: the store key its transcript pages under. */ export declare const ImageRefScope: import("react").Context; /** * `value` with each image a transcript sent by reference given its `data` once read, however deep it sits, for * renderers written against inline images. The same value while there is nothing to fill in, so memoized rows stay put. */ export declare function useImageRefs(value: T): T; //#endregion export {}; //# sourceMappingURL=imageRefStore.d.mts.map