import React, { FunctionComponentElement } from 'react'; export declare const DataUrlTypes: ["png", "jpeg", "svg"]; export declare type DataUrlType = typeof DataUrlTypes[number]; declare type CSSSelector = string; export interface ISignatureProps { dataUrlType?: DataUrlType; style?: Record; className?: string; prefixCls?: string; disabled?: boolean; containerWidth?: number; containerHeight?: number; penColor?: string; backgroundColor?: string; children?: React.ReactNode; title?: React.ReactNode; preview?: boolean; canFullScreen?: boolean; resizable?: boolean; getContainer?: HTMLElement | (() => HTMLElement | CSSSelector | null | false) | null | false; undo?: () => void; redo?: () => void; onClear?: () => void; onStart?: () => void; onEnd?: () => void; getSignatureData?: (dataUrl: string) => void; onClose?: () => void; } declare const Signature: { (props: ISignatureProps): FunctionComponentElement; displayName: string; }; export default Signature;