export declare type FileInputValue = { url: string; } | null | undefined; export declare type PreviewFileListener = (file: FileInputValue, inputPath: string[]) => void; export declare type PreviewListener = (state: InputState) => void; export interface Preview { subscribe(eventName: 'inputs', listener: (state: InputState) => void): () => void; }