/** * Perform copy and paste operations on the system clipboard. * * @experimental * @public * @packageDocumentation */ import type { Clipboard } from "@todesktop/client-electron-types"; import { type Ref } from "./invoke.js"; /** * Reads the text from the clipboard. * @public */ export declare function readText(...args: Parameters): Promise; /** * Writes the `text` into the clipboard as plain text. * @public */ export declare function writeText(...args: Parameters): Promise; /** * Reads the HTML from the clipboard. * @public */ export declare function readHTML(...args: Parameters): Promise; /** * Writes the `text` into the clipboard as HTML.. * @public */ export declare function writeHTML(...args: Parameters): Promise; /** * Reads the image from the clipboard. * @public */ export declare function readImage(...args: Parameters): Promise; /** * Writes the `image` into the clipboard as an image. * @public */ export declare function writeImage(...args: [image: Ref, type?: Parameters[1]]): Promise; /** * Reads the RTF from the clipboard. * @public */ export declare function readRTF(...args: Parameters): Promise; /** * Writes the `text` into the clipboard as RTF. * @public */ export declare function writeRTF(...args: Parameters): Promise; /** * Reads a bookmark from the clipboard. * @public */ export declare function readBookmark(...args: Parameters): Promise; /** * Writes the `title` (macOS only) and `url` into the clipboard as a bookmark. * @public */ export declare function writeBookmark(...args: Parameters): Promise; /** * Clears the clipboard content. * @public */ export declare function clear(...args: Parameters): Promise; /** * Supported formats for the clipboard. * @public */ export declare function supportedFormats(...args: Parameters): Promise;