Urara-Blog/node_modules/.pnpm-store/v3/files/6a/5b263168d62a9d295f237294aea8e8e9efcaf73d718470ca43b3ed63d2ac84e93d7178392f1ca54cf0c33bd59458d065a3eae05dcfb958ea2383df8de86f97
2022-08-14 01:14:53 +08:00

8 lines
679 B
Text

import type { KeywordCxt } from ".";
import type { AddedKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition } from "../../types";
import type { SchemaObjCxt } from "..";
import type { JSONType } from "../rules";
export declare function macroKeywordCode(cxt: KeywordCxt, def: MacroKeywordDefinition): void;
export declare function funcKeywordCode(cxt: KeywordCxt, def: FuncKeywordDefinition): void;
export declare function validSchemaType(schema: unknown, schemaType: JSONType[], allowUndefined?: boolean): boolean;
export declare function validateKeywordUsage({ schema, opts, self, errSchemaPath }: SchemaObjCxt, def: AddedKeywordDefinition, keyword: string): void;