1 | import { ContextBuilder } from '../context-builder';
|
2 | import { Optional } from '../context';
|
3 | import { CustomValidator } from '../base';
|
4 | import { ContextHandler } from './context-handler';
|
5 | import { ValidationChain } from './validation-chain';
|
6 | export declare class ContextHandlerImpl<Chain> implements ContextHandler<Chain> {
|
7 | private readonly builder;
|
8 | private readonly chain;
|
9 | constructor(builder: ContextBuilder, chain: Chain);
|
10 | bail(): Chain;
|
11 | if(condition: CustomValidator | ValidationChain): Chain;
|
12 | optional(options?: Optional | true): Chain;
|
13 | }
|