import { ReorderPayload } from '../types';
export declare function reorderErrors<T>(path: unknown, { from, to }: ReorderPayload, errors: T): T;
