import { AbstractControl, FormGroup } from '@angular/forms'; import { CostCenter, Currency, CurrencyService } from '@spartacus/core'; import { B2BUnitNode, OrgUnitService } from '@spartacus/organization/administration/core'; import { Observable } from 'rxjs'; import { ItemService } from '../../shared/item.service'; import * as i0 from "@angular/core"; export declare class CostCenterFormComponent { protected itemService: ItemService; protected unitService: OrgUnitService; protected currencyService: CurrencyService; form: FormGroup; /** * Initialize the business unit for the cost center. * * If there's a unit provided, we disable the form control. */ set unitKey(value: string); units$: Observable; currencies$: Observable; constructor(itemService: ItemService, unitService: OrgUnitService, currencyService: CurrencyService); createCodeWithName(name: AbstractControl, code: AbstractControl): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }