import * as yup from 'yup'; import { IArrayProps, TArrayValidatorResult } from '../_types'; export interface ICustomOrderProps { /** * The compare function to be used for the sort. */ compareFn: (a: U, b: U) => number; } /** * Order a list using a compare function. */ export declare const customOrder: , U>(props: ICustomOrderProps & Omit) => TArrayValidatorResult;