import { ClipboardContentType } from '../types/ClipboardTypes'; import { EditorAPI, Id } from '../types/CommonTypes'; /** * The ClipboardController is responsible for all communication regarding clipboard. * Methods inside this controller can be called by `window.SDK.clipboard.{method-name}` */ export declare class ClipboardController { #private; /** * @ignore */ constructor(editorAPI: EditorAPI); /** * This method will copy the frames to the OS clipboard as a json frame * @param ids An array of all frame ids you want to copy * @returns */ copyFrames: (ids: Id[]) => Promise>; /** * This method will remove the frames and store them to the OS clipboard as * a json frame * @param ids An array of all frame ids you want to cut * @returns */ cutFrames: (ids: Id[]) => Promise>; /** * This method will paste the OS clipboard content to the editor as frames * @returns */ pasteFrames: () => Promise>; /** * This method will get the content type of the OS clipboard * @returns content type */ getContentType: () => Promise>; }