/** * The domain linter (domains rethink Phase 4.6): moved from lokascript-domains' * `@lokascript/domain-toolkit`. Checks schema structure and cross-file * invariants (profile ↔ tokenizer ↔ schema ↔ renderer agreement); a grammar * runs it from one lint test. * * Implemented rules: * - R1/R2 (schema-structure): delegates to the validator the input * brings (`validateSchema`: the domains pass @lokascript/semantic's). * - R5 (keyword-classification): profile keywords/markers classify as * 'keyword' in the language's tokenizer. * - R6 (keyword-coverage): every schema command has profile keywords for * all declared languages. * - R7 (marker-tokenization): every marker/keyword tokenizes as a single * token. * - R8 (extractor-coverage): Latin-script tokenizers handle diacritic * identifiers (warning). * - R9 (position-ordering): schema role positions are unique per * word-order (warning). * - R10 (renderer-coherence): renderer table keywords match * profile/schema translations (opt-in via `renderer`). */ import type { DomainLintInput, LintResult } from './types'; export type { DomainLintInput, LintResult, LintFinding, LintRule, LintWaiver, Severity, RendererTables, SchemaValidationFinding, SchemaValidator, } from './types'; export { formatResult, formatFinding } from './format'; /** * Lint a domain against all enabled rules and return a structured result. */ export declare function lintDomain(input: DomainLintInput): LintResult; //# sourceMappingURL=index.d.ts.map