import RateComponent from './RateComponent'; import LoadProfile from './LoadProfile'; import { BillingCategory, RateElementClassification } from './constants'; import type { RateElementType, RateElementInterface, RateElementFilterArgs, ValidatorError } from './types'; declare class RateElement { private _rateComponents; id?: string; name: string; type: RateElementType; classification?: RateElementClassification; billingCategory?: BillingCategory; errors: Array; constructor(rateElementArgs: RateElementInterface, loadProfile: LoadProfile, otherRateElements?: Array); rateComponents(): Array; annualCost(): number; costs(): Array; matches({ billingCategories, classifications, ids }: RateElementFilterArgs): boolean; } export default RateElement;