import type { References, GenericParent } from 'myst-common'; import type { PageFrontmatter } from 'myst-frontmatter'; import type { TemplatePartDefinition, TemplateYml } from 'myst-templates'; import type { TypstResult } from 'myst-to-typst'; import type { ISession } from '../session/types.js'; import type { ExportWithOutput, ExportResults, ExportFnOptions } from './types.js'; export declare const DEFAULT_BIB_FILENAME = "main.bib"; export declare function isTypstAvailable(): string | null; export declare function runTypstExecutable(session: ISession, typstFile: string): Promise; export declare function mdastToTypst(session: ISession, mdast: GenericParent, references: References, frontmatter: PageFrontmatter, templateYml: TemplateYml | null, printGlossaries: boolean): TypstResult; export declare function extractTypstPart(session: ISession, mdast: GenericParent, references: References, partDefinition: TemplatePartDefinition, frontmatter: PageFrontmatter, templateYml: TemplateYml): TypstResult | TypstResult[] | undefined; export declare function localArticleToTypstRaw(session: ISession, templateOptions: ExportWithOutput, opts?: ExportFnOptions): Promise; export declare function localArticleToTypstTemplated(session: ISession, file: string, templateOptions: ExportWithOutput, opts?: ExportFnOptions): Promise; export declare function runTypstExport(// DBG: Must return an info on whether glossaries are present session: ISession, file: string, exportOptions: ExportWithOutput, opts?: ExportFnOptions): Promise; export declare function runTypstZipExport(session: ISession, file: string, exportOptions: ExportWithOutput, opts?: ExportFnOptions): Promise; export declare function runTypstPdfExport(session: ISession, file: string, exportOptions: ExportWithOutput, opts?: ExportFnOptions): Promise; //# sourceMappingURL=typst.d.ts.map