/** The NumberAggregator is a data anonymization technique used to round sensitive measurements to the desired power of ten. */ export declare class NumberAggregator { private readonly _numberAggregator; /** * Creates an instance of NumberAggregator. * @param powerOfTen The desired power of ten to round the measurements to. */ constructor(powerOfTen: number); /** * Applies the number aggregator on the provided data. * @param data The number or bigint to apply the number aggregator on. * @returns The rounded value of the data. * @throws An error if the type of data is not supported. */ apply(data: number | bigint): string; } /** * A data anonymization technique to round dates to the unit of time specified. * @class */ export declare class DateAggregator { private readonly _dateAggregator; /** * Creates a new instance of the `DateAggregator`. * @param {string} timeUnit - The unit of time to round the date to. */ constructor(timeUnit: string); /** * Applies the `DateAggregator` to the given date. * @param {string} data - The date to apply the `DateAggregator` to. * @returns {string} - The rounded date string. * @throws {Error} - If the input data is not a valid date string. */ apply(data: string): string; } export declare class NumberScaler { private readonly _numberScaler; constructor(mean: number, stdDeviation: number, scale: number, translate: number); apply(data: number | bigint): number | bigint; } //# sourceMappingURL=number.d.ts.map