import IBrowserWindow from '../window/IBrowserWindow.js'; import ClipboardItem from './ClipboardItem.js'; /** * Clipboard API. * * Reference: * https://developer.mozilla.org/en-US/docs/Web/API/Clipboard. */ export default class Clipboard { #private; /** * Constructor. * * @param ownerWindow Owner window. */ constructor(ownerWindow: IBrowserWindow); /** * Returns data. * * @returns Data. */ read(): Promise; /** * Returns text. * * @returns Text. */ readText(): Promise; /** * Writes data. * * @param data Data. */ write(data: ClipboardItem[]): Promise; /** * Writes text. * * @param text Text. */ writeText(text: string): Promise; } //# sourceMappingURL=Clipboard.d.ts.map