export declare const MIN_IMAGE_BYTES = 100; /** * ClipboardWriteFunction - Type for surface-specific clipboard write implementations. * Surfaces (e.g., TUI) inject their own implementation (e.g., OSC 52 for terminals). */ export type ClipboardWriteFunction = (text: string) => void; /** * missingClipboardReaderHint - Why the clipboard could not be read, in words a * person can act on, or undefined when the tooling to read it is present. * * A terminal cannot be handed an image by the terminal itself: bracketed paste * and OSC 52 carry text, so a pasted image has to be read from the system * clipboard directly. On Linux that means a helper program, and when it is * absent the honest answer names the package rather than reporting an empty * clipboard, "nothing happened" is what an uninstalled package looked like * before this existed. */ export declare function missingClipboardReaderHint(env?: { readonly platform?: string; readonly wayland?: boolean; readonly has?: (tool: string) => boolean; }): string | undefined; /** * pasteFromClipboard - Attempts to read from system clipboard using platform tools. */ export declare function pasteFromClipboard(): string; /** * pasteImageFromClipboard - Attempts to read image data from system clipboard. * Returns base64-encoded image data and mediaType, or null if no image is available. */ export declare function pasteImageFromClipboard(): { data: string; mediaType: string; } | null; //# sourceMappingURL=clipboard.d.ts.map