import { EventEmitter } from '../../../stencil-public-runtime';
/**
 * Display a dialog that allows the user to specify a signature image, either by using a signature-font-generated image
 * based on their full name, or by hand-drawing their signature with a mouse or tablet.
 */
export declare class VerdocsSignatureDialog {
    private canvasElement?;
    private drawingContext?;
    private fileInputElement?;
    /**
     * Initial signature text
     */
    name: string;
    /**
     * Fired when the user completes the dialog and clicks Adopt. The event detail will contain a base64-encoded string
     * representation of the signature adopted.
     */
    next: EventEmitter<string>;
    /**
     * Event fired when the step is cancelled. This is called exit to avoid conflicts with the JS-reserved "cancel" event name.
     */
    exit: EventEmitter;
    fontLoaded: boolean;
    enteredName: string;
    mode: string;
    isDrawing: boolean;
    hasDrawnSignature: boolean;
    hasUploadedImage: boolean;
    uploadedFileName: string;
    private currentStroke;
    private allStrokes;
    private lastPoint;
    private uploadedImage;
    componentWillLoad(): void;
    componentDidLoad(): void;
    componentDidUpdate(): void;
    redrawSignature(): void;
    redrawDrawnSignature(): void;
    handleNameChange(e: any): void;
    handleCancel(e: any): void;
    handleAdopt(e: any): void;
    isAdoptButtonDisabled(): boolean;
    setupDrawingCanvas(): void;
    clearDrawingCanvas(): void;
    handleClearDrawing(e: any): void;
    getCanvasCoordinates(e: PointerEvent): {
        x: number;
        y: number;
    };
    handlePointerDown: (e: PointerEvent) => void;
    handlePointerMove: (e: PointerEvent) => void;
    handlePointerUp: (e: PointerEvent) => void;
    handlePointerCancel: (e: PointerEvent) => void;
    handleSelectFile: (e: any) => void;
    handleFileChange: (e: Event) => void;
    drawUploadedImage(): void;
    handleClearUpload: (e: any) => void;
    render(): any;
}
