import { Completion, CompletionSource } from "@codemirror/next/autocomplete"; export interface ElementSpec { name: string; children?: readonly string[]; textContent?: readonly string[]; top?: boolean; attributes?: readonly (string | AttrSpec)[]; completion?: Partial; } export interface AttrSpec { name: string; values?: readonly (string | Completion)[]; global?: boolean; completion?: Partial; } export declare function completeFromSchema(eltSpecs: readonly ElementSpec[], attrSpecs: readonly AttrSpec[]): CompletionSource; //# sourceMappingURL=complete.d.ts.map