import { EntitiesModel } from '@spartacus/core'; import { B2BUnitNode, B2BUnitTreeNode, OrgUnitService } from '@spartacus/organization/administration/core'; import { TableService } from '@spartacus/storefront'; import { Observable } from 'rxjs'; import { ListService } from '../../shared/list/list.service'; import { OrganizationTableType } from '../../shared/organization.model'; import { UnitItemService } from './unit-item.service'; import { UnitTreeService } from './unit-tree.service'; import * as i0 from "@angular/core"; /** * Service to populate Unit data to `Table` data. Unit * data is driven by the table configuration, using the `OrganizationTables.UNIT`. */ export declare class UnitListService extends ListService { protected tableService: TableService; protected unitService: OrgUnitService; protected unitItemService: UnitItemService; protected unitTreeService: UnitTreeService; protected tableType: OrganizationTableType; constructor(tableService: TableService, unitService: OrgUnitService, unitItemService: UnitItemService, unitTreeService: UnitTreeService); protected load(): Observable>; protected convertListItem(unit: B2BUnitNode, depthLevel?: number, pagination?: { totalResults: number; }): EntitiesModel; key(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }