interface InternalTarget { id: string; text: string; } interface AllowedContent { cross_reference?: boolean; link?: boolean; } interface LinkDialogOptions { defaultLink: string; internalTargets: InternalTarget[]; linkType: string; title: string; target: string; allowedContent: AllowedContent; } export declare const linkDialogTemplate: ({ defaultLink, internalTargets, linkType, title, target, allowedContent }: LinkDialogOptions) => string; /** Dialog to add a note to a revision before saving. */ export declare const revisionDialogTemplate: ({ dir }: { dir: string; }) => string; export declare const pdfExportDialogTemplate: () => string; /** * Radio group for choosing whether tracked changes are resolved (accepted) or * kept in the exported file. `name` must be unique per dialog; the chosen value * is read back with {@link getExportTrackChangesValue}. */ export declare const exportTrackChangesTemplate: (name: string) => string; /** Read the tracked-changes radio group value ("resolve" or "include"). */ export declare const getExportTrackChangesValue: (dialogEl: Element, name: string) => string; export declare const htmlExportDialogTemplate: () => string; export declare const epubExportDialogTemplate: () => string; export declare const tableInsertTemplate: () => string; export declare const tableConfigurationTemplate: ({ language }: { language: string; }) => string; export declare const orderedListStartTemplate: ({ order }: { order: number; }) => string; export declare const mathDialogTemplate: () => string; interface FigureImageItem { id: number | string; cats: string[]; image: string; thumbnail?: string; title: string; } export declare const figureImageItemTemplate: ({ id, cats, image, thumbnail, title }: FigureImageItem) => string; interface ImageDB { [id: number]: FigureImageItem; } /** A template to select images inside the figure configuration dialog in the editor. */ export declare const figureImageTemplate: ({ imageDB }: { imageDB: ImageDB; }) => string; /** A template to configure the display of a figure in the editor. */ export declare const configureFigureTemplate: ({ language }: { language: string; }) => string; /** A template to configure citations in the editor */ export declare const configureCitationTemplate: ({ citedItemsHTML, citeFormat }: { citedItemsHTML: string; citeFormat: string; }) => string; /** A template for each selected citation item inside the citation configuration dialog of the editor. */ export declare const selectedCitationTemplate: ({ title, author, year, id, db, prefix, locator }: { title: string; author: string; year: string; id: number | string; db: string; prefix: string; locator: string; }) => string; interface Contributor { firstname?: string; lastname?: string; email?: string; institution?: string; id_type?: string; id_value?: string; } interface IdType { label: string; } export declare const contributorTemplate: ({ contributor, idTypes }: { contributor: Contributor; idTypes?: IdType[]; }) => string; export declare const languageTemplate: ({ currentLanguage, allowedLanguages }: { currentLanguage: string; allowedLanguages: [string, string, string][]; }) => string; export {}; //# sourceMappingURL=templates.d.ts.map