import type { ClipboardData, ExtractClipboardItemsOption } from 'roosterjs-editor-types'; /** * Extract clipboard items to be a ClipboardData object for IE * @param items The clipboard items retrieve from a DataTransfer object * @param callback Callback function when data is ready * @returns An object with the following properties: * types: Available types from the clipboard event * text: Plain text from the clipboard event * image: Image file from the clipboard event * html: Html string from the clipboard event. When set to null, it means there's no HTML found from the event. * When set to undefined, it means can't retrieve HTML string, there may be HTML string but direct retrieving is * not supported by browser. */ export default function extractClipboardItems(items: DataTransferItem[], options?: ExtractClipboardItemsOption, pasteNativeEvent?: boolean): Promise;