import type { Config, Node, ValidationType } from '@markdoc/markdoc'; import type { Store } from '../../store.js'; import type { LifecycleContext, MarkdownParseInput, MarkdocResolveContext } from '../../types'; import type { MarkdocError } from '../../../types/index.js'; export type ResolvableType = ValidationType & { resolver?: string; }; export type MarkdocConfigProps = { partials: Record; relativePath: string; nodes: any; tags: any; } & Config; type ParsedAstChunk = { ast: Node; rawContent: string; resolveErrors: MarkdocError[]; markdocErrors: MarkdocError[]; validatedAtRevision: number; sharedDataDeps?: Set; dynamicMarkdocComponents?: Set; relativePath: string; }; type MarkdocInfo = { sharedDataDeps?: Set; dynamicMarkdocComponents?: string[]; partials?: string[]; tagList?: string[]; htmlTagsList?: string[]; tagOccurrence?: Record; codeSnippetLanguages?: Record; codeWalkthroughLanguages?: Record; }; export declare function resolveAndValidateMarkdoc(parsedAstChunk: ParsedAstChunk, markdocOpts: Config | undefined, context: MarkdocResolveContext): Promise; export declare function getAst(relativePath: string, rawContent: string): ParsedAstChunk; export declare function extractMdFirstHeading(relativePath: string, context: LifecycleContext): Promise; export declare function validateAllMarkdowns(store: Store, context?: LifecycleContext): Promise; export declare function parseAndResolveMarkdoc(input: MarkdownParseInput, markdocOpts: Config | undefined, rootContext: MarkdocResolveContext): Promise>; export {}; //# sourceMappingURL=compiler.d.ts.map