import { default as html2canvas, Options as Html2CanvasOptions } from 'html2canvas';
import { default as Toolbar } from 'quill/modules/toolbar';

export type ScreenShotOptions = Partial<Html2CanvasOptions> & {
    Html2Canvas: typeof html2canvas;
    beforeCreateCanvas: () => void | Promise<void>;
    beforeCreateImage: (canvas: HTMLCanvasElement) => HTMLCanvasElement | string | Promise<HTMLCanvasElement | string>;
};
interface ScreenShotOptionsInQuill {
    quill: {
        options: {
            screenshot: Partial<ScreenShotOptions>;
        };
    };
}
export declare function Screenshot(this: Toolbar & ScreenShotOptionsInQuill): void;
export declare namespace Screenshot {
    var toolName: string;
}
export {};
