import React from "react"; import { VEControlProps } from "../../tmpl/interface"; import { LocaleContext } from "../../locale/LocaleProvider"; interface SignatureProps extends VEControlProps { } interface SignatureState { modalOpen?: boolean; molFileLoaded?: boolean; trimmedDataURL?: any; } export default class Signature extends React.PureComponent { static defaultProps: { viewOrEdit: string; }; state: { modalOpen: boolean; molFileLoaded: boolean; molFile: any; trimmedDataURL: any; }; static contextType: React.Context<{ locale: import("../../locale/langMp").LocaleType; langPkg: any; availableLang: string[]; changeLocale: (locale: import("../../locale/langMp").LocaleType) => void; siderCollapsed: boolean; changeSiderCollapsed: () => void; t: (...strs: string[]) => string; translate: (...strs: string[]) => string; getServiceLangStr?: () => string; compactTheme?: boolean; changeCompactTheme?: () => void; screenfull?: boolean; changeScreenfull?: () => void; }>; context: React.ContextType; componentDidMount(): void; signCanvas: any; loadData: () => Promise; saveMolfile: () => Promise; triggerChange: (changedValue: any) => void; showView: () => Promise; onCancel: () => void; onClear: () => void; render(): React.JSX.Element; } export {}; //# sourceMappingURL=index.d.ts.map