import { TypedEvent } from './typed-event'; type MIMEType = 'text/html' | 'text/plain' | 'image/png' | 'image/jpeg'; type CopiedContent = Array<{ type: MIMEType; data: string | Blob; }>; export declare class ClipboardSyncManager { remoteClipboardData: string | Blob; copied: TypedEvent; private targets; /** * @description * @param elements 需要监听有效交互的元素 * @param listenOnGlobal 默认全局监听document.body */ constructor(elements?: HTMLElement[], listenOnGlobal?: boolean); destroy(): void; syncToClipboard(data: string | Blob): Promise; private detectLegalUserGesture; private handleFocusSyncData; private clearLegalUserGestureEvent; private detectionBootstrap; private clearEventsOnTargets; private getDataFromClipboard; private syncFromClipboard; } export {};