import { Validator } from '../core'; export declare function when(path: string[], options: { is: Validator; then: Validator; otherwise?: Validator; }): Validator;