massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / table / node_modules / ajv / dist / compile / validate / keyword.d.ts
1 import type { KeywordCxt } from ".";
2 import type { AddedKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition } from "../../types";
3 import type { SchemaObjCxt } from "..";
4 import type { JSONType } from "../rules";
5 export declare function macroKeywordCode(cxt: KeywordCxt, def: MacroKeywordDefinition): void;
6 export declare function funcKeywordCode(cxt: KeywordCxt, def: FuncKeywordDefinition): void;
7 export declare function validSchemaType(schema: unknown, schemaType: JSONType[], allowUndefined?: boolean): boolean;
8 export declare function validateKeywordUsage({ schema, opts, self, errSchemaPath }: SchemaObjCxt, def: AddedKeywordDefinition, keyword: string): void;