import type { FilePromise } from '@prezly/uploadcare-widget'; export declare function toFilePromise(src: string): FilePromise | null;