import { Options as SignaturePadOptions } from 'signature_pad'; import { BagelInputShellProps } from './bagelInputShell'; export interface WaterMark { text: string; x: number; y: number; sx: number; sy: number; font: string; fillStyle: string; strokeStyle: string; style: string; } export type FormatType = 'image/png' | 'image/jpg' | 'image/jpeg' | 'image/svg+xml'; type __VLS_Props = { sigOption?: SignaturePadOptions; width?: string; height?: string; ratio?: number; clearOnResize?: boolean; waterMark?: WaterMark; disabled?: boolean; defaultUrl?: string; format?: FormatType; clearable?: boolean; required?: boolean; label?: string; helptext?: string; penColor?: string; backgroundColor?: string; } & BagelInputShellProps; declare function clear(): void; declare function save(format?: FormatType): string | undefined; declare function fromDataURL(url: string): Promise | undefined; declare function undo(): void; declare function addWaterMark(data: WaterMark): void; type __VLS_PublicProps = { modelValue?: any; 'file'?: File; } & __VLS_Props; declare const _default: import('vue').DefineComponent<__VLS_PublicProps, { save: typeof save; clear: typeof clear; isEmpty: () => boolean | undefined; undo: typeof undo; addWaterMark: typeof addWaterMark; fromDataURL: typeof fromDataURL; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (value: any) => any; "update:file": (value: File) => any; }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ "onUpdate:modelValue"?: ((value: any) => any) | undefined; "onUpdate:file"?: ((value: File) => any) | undefined; }>, { clearable: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { vCanvas: HTMLCanvasElement; }, HTMLDivElement>; export default _default; //# sourceMappingURL=SignaturePad.vue.d.ts.map