import BrowserWindow from '../window/BrowserWindow.cjs'; import ClipboardItem from './ClipboardItem.cjs'; /** * Clipboard API. * * Reference: * https://developer.mozilla.org/en-US/docs/Web/API/Clipboard. */ export default class Clipboard { #private; /** * Constructor. * * @param window Owner window. */ constructor(window: BrowserWindow); /** * 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