import { MimeData } from '@phosphor/coreutils'; import { Token } from '@phosphor/application'; /** * The clipboard token. */ export declare const IClipboard: Token; /** * The clipboard interface. */ export interface IClipboard extends MimeData { } /** * Copy text to the system clipboard. * * #### Notes * This can only be called in response to a user input event. */ export declare function copyToClipboard(text: string): void; /** * Generate a clipboard event on a node. * * @param node - The element on which to generate the event. * * @param type - The type of event to generate. * `'paste'` events cannot be programmatically generated. * * #### Notes * This can only be called in response to a user input event. */ export declare function generateClipboardEvent(node: HTMLElement, type?: 'copy' | 'cut'): void;