UNPKG

@chief-editor/editor

Version:

FlowEditor Editor

7 lines (6 loc) 329 B
import { IBrickDataGlobal } from '@chief-editor/types'; export declare type pasteFileFunction = (file: File, createBrick: (data: IBrickDataGlobal) => void) => Promise<void>; export interface ICopyAndPasteOptions { pasteFile?: pasteFileFunction; } export declare function useCopyAndPaste(options: ICopyAndPasteOptions): void;