import type { GenericNode } from 'myst-common'; import type { Blocks } from '@curvenote/blocks'; import { ReferenceFormatTypes } from '@curvenote/blocks'; import { Block, Version } from '../../../models.js'; import type { ISession } from '../../../session/types.js'; import { getEditorState } from './getEditorState.js'; export interface ArticleStateChild { state: ReturnType; block?: Block; version?: Version; templateTags?: string[]; } export interface ArticleStateReference { label: string; bibtex?: string; version?: Version; state?: ReturnType; } export type ArticleState = { children: ArticleStateChild[]; images: Record>; references: Record; tagged: Record; }; export declare function outputHasHtml(version: Version): boolean; export declare function outputHasImage(version: Version): boolean; export declare function walkArticle(session: ISession, data: Blocks.Article, templateTags?: string[], referenceFormat?: ReferenceFormatTypes): Promise; export declare function loadImagesToBuffers(session: ISession, images: ArticleState['images']): Promise>>; export declare function loadLocalImagesToBuffers(images: GenericNode[]): Record>; //# sourceMappingURL=walkArticle.d.ts.map