1 | import { StateArguments } from './types';
|
2 | export interface StateResult {
|
3 | res: string;
|
4 | errors: string[] | null;
|
5 | }
|
6 | export declare type SubValidator = (value: string, ...rest: string[]) => StateResult;
|
7 | export interface StateParamType {
|
8 | subValidators?: Record<string, SubValidator>;
|
9 | validate(value: any, args: StateArguments, resolveParam: any, validateDefinition: boolean, validateValue: boolean): StateResult;
|
10 | }
|
11 | export declare const systemValidators: Record<string, StateParamType>;
|
12 |
|
\ | No newline at end of file |