import { Node, ReportData, Context, CreateReportOptions, Images, Links, Htmls } from './types'; export declare function newContext(options: CreateReportOptions, imageAndShapeIdIncrement?: number): Context; export declare function extractQuery(template: Node, options: CreateReportOptions): Promise; type ReportOutput = { status: 'success'; report: Node; images: Images; links: Links; htmls: Htmls; } | { status: 'errors'; errors: Error[]; }; export declare function produceJsReport(data: ReportData | undefined, template: Node, ctx: Context): Promise; export declare function findHighestImgId(mainDoc: Node): number; export declare function walkTemplate(data: ReportData | undefined, template: Node, ctx: Context, processor: CommandProcessor): Promise; type CommandProcessor = (data: ReportData | undefined, node: Node, ctx: Context) => Promise; export declare function getCommand(command: string, shorthands: Context['shorthands'], fixSmartQuotes: boolean): string; export declare function splitCommand(cmd: string): { cmdName: string | undefined; cmdRest: string; }; export {};