import { SilkeImageValue } from './utils'; /** * Reads a File and converts it to a SilkeImageValue with base64 data. * Returns a promise that resolves with the image value or null if reading fails. */ export declare function fileToImageValue(file: File): Promise; /** * Extracts the first image file from a ClipboardEvent. * Returns the File or null if no image is found. */ export declare function getImageFromClipboard(e: React.ClipboardEvent): File | null; /** * Extracts the first image file from a DragEvent. * Returns the File or null if no image is found. */ export declare function getImageFromDragEvent(e: DragEvent): File | null; /** * Generates a data URL from a SilkeImageValue for use in img src. */ export declare function imageValueToDataUrl(img: SilkeImageValue): string;