import React from "react";
import { Attachment, TemplateRegistry } from "../../types";
import { OpenAttestationDocument } from "@govtechsg/open-attestation";
interface FramedDocumentRendererProps<D extends OpenAttestationDocument = OpenAttestationDocument> {
    templateRegistry: TemplateRegistry<D>;
    attachmentToComponent?: (attachment: Attachment, document: OpenAttestationDocument) => React.FunctionComponent;
}
export declare function FramedDocumentRenderer<D extends OpenAttestationDocument = OpenAttestationDocument>({ templateRegistry, attachmentToComponent }: FramedDocumentRendererProps<D>): JSX.Element;
export {};
