import { Validator } from '../core'; declare type SortedDirection = 'asc' | 'desc'; interface SortedComparator { (a: any, b: any): number; } export declare function sorted(direction: SortedDirection | SortedComparator, message?: string): Validator; export {};