@govtechsg/open-attestation
Version:
12 lines (11 loc) • 830 B
TypeScript
import { WrappedDocument } from "./types";
import { WrapDocumentOptionV3 } from "../shared/@types/wrap";
import { OpenAttestationDocument } from "../__generated__/schema.3.0";
/**
* @deprecated will be removed in the next major release in favour of OpenAttestation v4.0 (more info: https://github.com/Open-Attestation/open-attestation/tree/alpha)
*/
export declare const wrapDocument: <T extends OpenAttestationDocument>(credential: T, options: WrapDocumentOptionV3) => Promise<WrappedDocument<T>>;
/**
* @deprecated will be removed in the next major release in favour of OpenAttestation v4.0 (more info: https://github.com/Open-Attestation/open-attestation/tree/alpha)
*/
export declare const wrapDocuments: <T extends OpenAttestationDocument>(documents: T[], options: WrapDocumentOptionV3) => Promise<WrappedDocument<T>[]>;