UNPKG

895 BTypeScriptView Raw
1import { Location } from '../base';
2export declare function buildCheckFunction(locations: Location[]): (fields?: string | string[] | undefined, message?: any) => import("..").ValidationChain;
3export declare const check: (fields?: string | string[] | undefined, message?: any) => import("..").ValidationChain;
4export declare const body: (fields?: string | string[] | undefined, message?: any) => import("..").ValidationChain;
5export declare const cookie: (fields?: string | string[] | undefined, message?: any) => import("..").ValidationChain;
6export declare const header: (fields?: string | string[] | undefined, message?: any) => import("..").ValidationChain;
7export declare const param: (fields?: string | string[] | undefined, message?: any) => import("..").ValidationChain;
8export declare const query: (fields?: string | string[] | undefined, message?: any) => import("..").ValidationChain;