import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare class Point {
    x: number;
    y: number;
    constructor(x: number, y: number);
}
export declare class SignatureCanvasComponent implements AfterViewInit {
    private _code;
    private _signature;
    sign: ElementRef;
    img: ElementRef;
    downPath: string;
    href: string;
    verificationActive: boolean;
    isCanvasEmpty: boolean;
    private cx;
    width: number;
    height: number;
    withCodeVerification: boolean;
    isDownloadable: boolean;
    isIncorrectCode: boolean;
    get signature(): string;
    signatureChange: EventEmitter<any>;
    set signature(value: string);
    finish: EventEmitter<any>;
    dofinish(): void;
    get code(): string;
    codeChange: EventEmitter<any>;
    set code(value: string);
    ngAfterViewInit(): void;
    configureCanvas(): void;
    captureEvents(canvas: HTMLCanvasElement): void;
    draw(previousPoint: Point, currentPoint: Point): void;
    downloadImage(): void;
    cleanCanvas(): void;
    finishDrawing(): void;
    returnCanvas(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<SignatureCanvasComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<SignatureCanvasComponent, "systelab-signature-canvas", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "withCodeVerification": { "alias": "withCodeVerification"; "required": false; }; "isDownloadable": { "alias": "isDownloadable"; "required": false; }; "isIncorrectCode": { "alias": "isIncorrectCode"; "required": false; }; "signature": { "alias": "signature"; "required": false; }; "code": { "alias": "code"; "required": false; }; }, { "signatureChange": "signatureChange"; "finish": "finish"; "codeChange": "codeChange"; }, never, never, false, never>;
}
