UNPKG

idea-toolbox

Version:
26 lines (25 loc) 674 B
import { Resource } from './resource.model'; import { epochDateTime } from './epoch'; /** * The signature, composed by a signatory and various dataURL formats. */ export declare class Signature extends Resource { /** * The contact who signed. */ signatory: string; /** * The timestamp of the signature. */ timestamp: epochDateTime; /** * The PNG representation of the signature. */ pngURL: string; load(x: any): void; validate(): string[]; /** * Check whether the signature object has the same content of another one. */ isSame(otherSignature: Signature, skipSignatory?: boolean): boolean; }