import { Attachment, Document, Template, TemplateRegistry } from "./types";
import React from "react";
export declare const repeat: (times: number) => (callback: (index: number) => any) => any[];
export declare const noop: () => void;
export declare const inIframe: () => boolean;
export declare function documentTemplates<D extends Document>(document: Document, templateRegistry: TemplateRegistry<D>, attachmentToComponent: (attachment: Attachment, document: Document) => React.FunctionComponent): Template<D>[];
