export type formatConfig = { /** * Page format - Letter, Legal, A4, etc */ format?: string; }; export declare function parseFormat(cmdOptions: any, config: formatConfig): formatConfig; export type rotateConfig = { rotate?: number; }; export declare function parseRotate(cmdOptions: any, config: rotateConfig): rotateConfig; /** * Container for the instructions to render one or more PDFs. * Normally this is generated by the `render` sub-command, * but could be generated by other code. */ export type renderConfig = { files: Array<{ /** * VPath of the document file, meaning it is the * pathname within the virtual file system comprised * of the document directories. * * Each vpath generates a PDF file. */ vpath: string; }>; /** * Page format - Letter, Legal, A4, etc */ /** * Directory where PDF files land */ pdfOutput: string; /** * Directory where HTML/CSS/etc files land. This is the * same as the AkashaCMS rendering output directory. */ htmlOutput: string; /** * Enable/disable autoconversion of link-like text to a link. */ linkify: boolean; /** * File name, referenced to root of project directory, of * the template for the PDF header */ templateHeader: string; /** * Height, in pixels, of the header. TBD is this to be a number? */ heightHeader: string; /** * File name, referenced to root of project directory, of * the template for the PDF footer. */ templateFooter: string; /** * Height, in pixels, of the footer. TBD is this to be a number? */ heightFooter: string; /** * Date to record as the publication date. * * TODO make sure this becomes the creationDate metadata */ publicationDate: Date; /** * Date to record as the modification date * * TODO make sure this becomes the modificationDate metadata * * TODO make sure there's a render option for this */ modificationDate: Date; /** * Directory names where layout templates live. This corresponds * to the AkashaCMS layoutDirs configuration setting. */ layoutDirs?: Array; /** * Directory names where asset files live. This corresponds * to the AkashaCMS assetDirs configuration setting. */ assetDirs?: Array; /** * Directory names where partial templates live. This corresponds * to the AkashaCMS partialDirs configuration setting. */ partialDirs?: Array; /** * Directory names where document files live. This corresponds * to the AkashaCMS documentDirs configuration setting. */ documentDirs?: Array; /** * File name for a JavaScript module containing a Mahafunk array. * This will be plugged into the configuraion to support * custom processing of the documents. */ funcs?: string; /** * Print extra information as the documents are processed. */ verbose?: boolean; } & formatConfig; //# sourceMappingURL=options.d.ts.map