UNPKG

@markuplint/ml-spec

Version:

Types and schema that specs of the Markup languages for markuplint

9 lines (8 loc) 403 B
import type { MLMLSpec, Attribute } from '../types/index.js'; import type { NamespaceURI } from '@markuplint/ml-ast'; export declare function getAttrSpecs(localName: string, namespace: NamespaceURI | null, schema: MLMLSpec): readonly Attribute[] | null; type HasName = { readonly name: string; }; export declare function nameCompare(a: HasName | string, b: HasName | string): 1 | -1 | 0; export {};