import type { UploadResult } from './vto-core/index.js'; export type TryOnState = 'idle' | 'uploading' | 'ready' | 'generating' | 'result' | 'error'; export interface UseTryOnReturn { state: TryOnState; personPreview: string | null; resultImage: string | null; error: string | null; ready: boolean; uploadPhoto: (base64: string, processBackground?: boolean) => Promise; generate: (productImageUrl: string) => Promise; clearPerson: () => void; reset: () => void; } export declare function useTryOn(): UseTryOnReturn;