import React, { ReactNode } from 'react';
import { BasicComponent } from "../../../../src/utils/typings";
export type SignatureType = 'jpg' | 'png';
export interface SignatureProps extends BasicComponent {
    type: SignatureType;
    lineWidth: number;
    strokeStyle: string;
    unsupported: ReactNode;
    onConfirm?: (canvas: HTMLCanvasElement, dataurl: string, isSigned?: boolean) => void;
    onClear?: () => void;
}
export declare const Signature: React.ForwardRefExoticComponent<Partial<SignatureProps> & React.RefAttributes<unknown>>;
