import React from 'react'; import { type StrokeOptions } from 'perfect-freehand'; import { type Dispatch } from '../store'; export * from 'perfect-freehand'; export * from '../utils'; export * from '../options'; export * from '../store'; export type SignatureCanvasRef = { canvas: HTMLCanvasElement | null; dispatch: Dispatch; clear: () => void; }; export interface SignatureProps extends React.CanvasHTMLAttributes { prefixCls?: string; options?: StrokeOptions; readonly?: boolean; defaultPoints?: Record; onPointer?: (points: number[][]) => void; } declare const Signature: React.ForwardRefExoticComponent>; export default Signature;