import { type ComputedRef } from "vue"; import type { MulmoScriptTransport } from "../transport"; type CharRenderState = "idle" | "rendering" | "done" | "error"; type ScriptImages = Record | undefined; export interface UseCharacterImagesOptions { api: MulmoScriptTransport; filePath: ComputedRef; /** Which registered root `filePath` is relative to; `undefined` = the host's default (#3014). */ root: ComputedRef; chatSessionId: ComputedRef; getImages: () => ScriptImages; } export declare function useCharacterImages({ api, filePath, root, chatSessionId, getImages }: UseCharacterImagesOptions): { charRenderState: Record; charImages: Record; charErrors: Record; charDragOver: Record; characterKeys: ComputedRef; characterPrompt: (key: string) => string; onCharDragOver: (event: DragEvent, key: string) => void; onCharDragLeave: (key: string) => void; onCharDrop: (event: DragEvent, key: string) => Promise; loadExistingCharacterImage: (key: string) => Promise; refreshMissingCharacterImages: () => void; renderCharacter: (key: string, force: boolean) => Promise; generateAllCharacters: () => Promise; resetCharacters: () => void; }; export {}; //# sourceMappingURL=useCharacterImages.d.ts.map