export type VLMContextValue = { isLoaded: boolean; isLoading: boolean; error: string | null; loadModel: (onProgress?: (msg: string) => void) => Promise; runInference: ( media: HTMLVideoElement | HTMLImageElement, instruction: string, onTextUpdate?: (text: string) => void, ) => Promise; };