import { default as Quill } from 'quill';
export interface IClipboardOptions {
    onError?: () => void;
    onSuccess?: () => void;
}
export interface ICopyModuleOptions {
    isTitleMode?: boolean;
}
declare class CopyModule {
    private readonly clipboard;
    private readonly quill;
    private cleanupFunctions;
    constructor(quill: Quill, options?: ICopyModuleOptions);
    private setupTitleModePaste;
    private normalizeTitlePasteText;
    private normalizeTitlePasteHtml;
    private flattenTitlePasteNode;
    private endsWithWhitespace;
    private findLastTextNode;
    private getDeltaLength;
    private applyPasteDelta;
    private applyPasteText;
    private scheduleSelection;
    destroy(): void;
    copyContent(options?: IClipboardOptions): Promise<boolean>;
    copyToClipboard(text: string, html?: string, options?: IClipboardOptions): Promise<boolean>;
    private tryModernClipboardWithHtml;
    private tryModernClipboardText;
    private tryLegacyClipboardWithHtml;
    private tryLegacyClipboardText;
    private tryClipboardEventCopy;
}
export default CopyModule;
