import { ClipboardContent } from './types'; export default class JoplinClipboard { private electronClipboard_; private electronNativeImage_; constructor(electronClipboard: any, electronNativeImage: any); readText(): Promise; writeText(text: string): Promise; /** desktop */ readHtml(): Promise; /** desktop */ writeHtml(html: string): Promise; /** * Returns the image in [data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) format. * * desktop */ readImage(): Promise; /** * Takes an image in [data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) format. * * desktop */ writeImage(dataUrl: string): Promise; /** * Returns the list available formats (mime types). * * For example [ 'text/plain', 'text/html' ] */ availableFormats(): Promise; /** * Writes multiple formats to the clipboard simultaneously. * This allows setting both text/plain and text/html at the same time. * * desktop * * @example * ```typescript * await joplin.clipboard.write({ * text: 'Plain text version', * html: 'HTML version' * }); * ``` */ write(content: ClipboardContent): Promise; }