import { ClipboardEvent } from 'react'; type PasteHandlers = { onPaste: (event: ClipboardEvent) => void; }; type UseFilePasteOptions = { onFiles?: (files: File[]) => void; /** Given a pasted link that points at an image. The link still lands in the text. */ onImageLink?: (url: string) => void; }; /** A pasted screenshot has no name of its own, so the kind comes off the clipboard item. */ export declare const getPastedFiles: (clipboardData: DataTransfer | null) => File[]; /** Returns no handler when there is nothing to hand a paste to, so it never intercepts one. */ export declare const useFilePaste: ({ onFiles, onImageLink }: UseFilePasteOptions) => { pasteHandlers: PasteHandlers | undefined; }; export {}; //# sourceMappingURL=useFilePaste.d.ts.map