1 | export interface ValidationError {
|
2 | message: string;
|
3 | }
|
4 | export declare type ValidationResult = void | ValidationError;
|
5 | export declare function isValidationError(vr: ValidationResult): vr is ValidationError;
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | export interface SmartParameters {
|
13 | bindAndValidate(): ValidationResult | Promise<ValidationResult>;
|
14 | }
|
15 | export declare function isSmartParameters(a: any): a is SmartParameters;
|
16 | export declare type ParameterIndexType = string;
|
17 | export declare type ParameterType = {
|
18 | [key in ParameterIndexType]?: number | boolean | string | ParameterType;
|
19 | };
|
20 | export declare class NoParameters implements ParameterType {
|
21 | }
|
22 |
|
\ | No newline at end of file |