import type { SchemaEnv } from '../schema/env.js'; import type { NabiDoc, NabiNode } from '../schema/types.js'; export interface ParseText { readonly kind: 'text'; readonly text: string; } export interface ParseElement { readonly kind: 'element'; readonly tag: string; readonly attrs: Readonly>; readonly children: readonly ParseNode[]; } export type ParseNode = ParseText | ParseElement; export declare function $snapshotParseNodes(value: unknown): ParseNode[] | null; export interface ImportOptions { readonly env: SchemaEnv; readonly allowLocalUrls?: boolean; readonly claim?: (el: ParseElement, inner: (block: boolean) => NabiNode[]) => NabiNode[] | null; } export declare function $importDoc(nodes: unknown, options: ImportOptions): NabiDoc | null; export declare function importDoc(nodes: readonly ParseNode[], options: ImportOptions): NabiDoc; //# sourceMappingURL=import.d.ts.map