import { ElementRef, OnDestroy, OnInit } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { Subscription } from "rxjs"; import { Accordion } from "primeng/accordion"; import { NgbDropdown } from '@ng-bootstrap/ng-bootstrap'; import * as i0 from "@angular/core"; export interface Account { companyId: number; companyName: string; propertyAccess: Property[]; roleType: string; } export interface Property { isDisabled?: boolean; propertyId: number; propertyName: string; roleType?: string; tagged?: boolean; companyId?: number; selected?: boolean; } export declare class MinoNestedMultiselectComponent implements ControlValueAccessor, OnInit, OnDestroy { el: ElementRef; accounts: import("@angular/core").InputSignal; multipleAccounts: import("@angular/core").InputSignal; activeQuoteAccountId: import("@angular/core").ModelSignal; parentElement: import("@angular/core").InputSignal; showBothIcons: import("@angular/core").InputSignal; trackScroll: import("@angular/core").InputSignal; scrollToBottomSize: import("@angular/core").InputSignal; selectionChange: import("@angular/core").OutputEmitterRef<{ accountMap: { [key: number]: Property[]; }; accountId?: number; }>; scrolledToBottom: import("@angular/core").OutputEmitterRef; dropdownClose: import("@angular/core").ModelSignal; listStyle: import("@angular/core").InputSignal; virtualScroll: import("@angular/core").InputSignal; itemSize: import("@angular/core").InputSignal; selectedAccount: import("@angular/core").WritableSignal; currentAccount: import("@angular/core").WritableSignal; selectedProperties: import("@angular/core").WritableSignal; accountPropertiesMap: import("@angular/core").WritableSignal<{ [key: number]: Property[]; }>; properties: import("@angular/core").WritableSignal; showProperties: import("@angular/core").WritableSignal; isDisabled: import("@angular/core").WritableSignal; touched: import("@angular/core").WritableSignal; value: import("@angular/core").WritableSignal; parentElementSubscription: Subscription | undefined; propertiesMap: import("@angular/core").Signal<{ [key: string]: Property[]; }>; selectedAccountId: import("@angular/core").Signal; isDifferentAccountSelected: import("@angular/core").Signal; isValueChanged: import("@angular/core").Signal; constructor(el: ElementRef); /** * */ ngOnInit(): void; /** * Handle account selection * @param event - The selected account */ onAccountSelect(event: Account): void; /** * On the back click */ onBackClick(): void; /** * Apply the selection */ applySelection(): void; /** * Load properties for the selected account * @param accountId - The ID of the selected account */ loadPropertiesForAccount(accountId: number): void; /** * Save the current selection */ saveCurrentSelection(): void; /** * Check and Reset selected properties if a different account is selected */ resetSelectedProperties(): void; /** * Write the value * @param value - The value to write */ writeValue(value: any): void; /** * Register the change * @param fn - The function to register */ registerOnChange(fn: any): void; /** * Register the touched * @param fn - The function to register */ registerOnTouched(fn: any): void; /** * Set the disabled state * @param isDisabled - The disabled state */ setDisabledState(isDisabled: boolean): void; private onChange; private onTouched; /** * Emit selection change event */ private emitSelectionChange; scrolledToBottomEmit($event: boolean): void; /** * */ ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }