/** * Lee una imagen del portapapeles del sistema y devuelve { base64, mediaType }. * Devuelve null si no hay imagen, o si falla el shell-out (no instalado, etc). * * Implementaciones por plataforma: * - Windows: PowerShell → `Get-Clipboard -Format Image` y `.Save(path)`. * - macOS: osascript + `«class PNGf»` → escribe PNG a disco. * - Linux: `xclip -selection clipboard -t image/png -o > file`. */ export declare function readClipboardImage(opts?: { debug?: boolean; }): { base64: string; mediaType: string; } | null; /** * Versión ASYNC: no bloquea el event loop. PowerShell corre en background, * typing del usuario queda fluido. Úsala para polling. Para paste explícito * (Alt+V, /paste), usa la sync — el bloqueo de 200ms es aceptable porque el * usuario explícitamente pidió la operación. */ export declare function readClipboardImageAsync(): Promise<{ base64: string; mediaType: string; } | null>; /** Lee una imagen de disco y la devuelve en base64. */ export declare function readImageFile(filePath: string): { base64: string; mediaType: string; } | null; //# sourceMappingURL=clipboard-image.d.ts.map