import type { SchemaValidationErrorItem } from '@takeshape/errors';
export declare function findDuplicateIndices<Obj extends object, Key extends keyof Obj>(array: Obj[], key: Key): [Obj[Key], number[]][];
export declare function pushErrors(errors: SchemaValidationErrorItem[], error: SchemaValidationErrorItem | SchemaValidationErrorItem[] | undefined): void;
