/** * Find duplicates in an array of objects based on a specific key. * @param data The array of objects to search for duplicates. * @param key The key to use for finding duplicates. * @param message The message to include in the duplicate object. * @returns An array of objects containing the index and key of the duplicate. */ export declare function findDuplicates, K extends keyof T>(data: T[], key: K, message?: string): { [key]: string; _index: number; }[];