/** * Represents a split of a dataset into training and validation sets. */ export type SplitData = { trainingData: T[]; validationData: T[]; }; /** * Splits an array of objects into training and validation datasets, grouped by a specific feature and shuffled randomly within each group. */ export declare function splitData(data: T[], features: (keyof T)[], splitRatio: number): SplitData; /** * Shuffles the given array in place using the Fisher-Yates shuffle algorithm. */ export declare function shuffleData(data: T[]): void;