//#region src/addons/interactive-ml/Dataset.d.ts /** Shared dataset rules. Feature validation stays with each trainer. */ export declare class Dataset { protected examples: T[]; get counts(): Record; protected add(example: Omit): string; removeExample(id: string): void; /** Remove the newest example without copying the dataset. */ removeLastExample(): void; relabelExample(id: string, label: string): void; protected restore(examples: T[], validate: (example: T) => void): void; } //#endregion