import type { ValidationOptions } from 'simple-validators'; import type { Check, CheckDefinition } from '@curvenote/check-definitions'; import type { ISession } from 'myst-templates'; /** * Validation function to test Check definitions * * Checks must be defined in code (as opposed to declaratively) since they also include * a validation function. That means this validator is probably most useful in code unit tests * to ensure that the Check interface is valid, beyond the basic typescript checks. */ export declare function validateCheckDefinition(session: ISession, input: any, opts: ValidationOptions): CheckDefinition | undefined; export declare const validateCheckOptions: (session: ISession, options: any, optionDefinitions: import("myst-templates").TemplateOptionDefinition[], opts: import("myst-templates").FileValidationOptions) => Record | undefined; /** * Validation function to test if Check is known and provides valid options */ export declare function validateCheck(session: ISession, input: any, checkDefinitions: CheckDefinition[], opts: ValidationOptions): Check | undefined; //# sourceMappingURL=validators.d.ts.map