import { OnDestroy, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { QdTableStoreService } from '../../../../../table/store/table-store.service';
import { QdEventBrokerService } from '../../../../../core/services/event-broker.service';
import { QdTreeDataRow } from '../../../../model/tree-data.interface';
import { QdTreeConfig } from '../../../../model/tree-config.interface';
import { QdTreeConfigSecondaryActionType, QdTreeSecondaryAction } from '../../../../model/tree-config-actions.interface';
import * as i0 from "@angular/core";
export interface ResolvedAction extends Pick<QdTreeSecondaryAction<any>, 'type' | 'isHidden' | 'operationMode'> {
    i18n: string;
}
export declare class QdTreeRowActionsSecondaryMenuComponent<T extends string> implements OnInit, OnDestroy {
    private readonly tableStoreService;
    private readonly eventBroker?;
    rowIndex: number;
    rowData: QdTreeDataRow<T>;
    config: QdTreeConfig<T>;
    testId: string;
    private readonly _i18ns$;
    private readonly _secondaryActionsConfig$;
    private readonly _viewonly$;
    private readonly _destroy$;
    get hasVisibleActions$(): Observable<boolean>;
    get actions$(): Observable<ResolvedAction[]>;
    constructor(tableStoreService: QdTableStoreService<T>, eventBroker?: QdEventBrokerService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    handleSecondaryAction(type: QdTreeConfigSecondaryActionType, index: number, isHidden: boolean | ((row: QdTreeDataRow<T>) => boolean)): void;
    private initViewMode;
    static ɵfac: i0.ɵɵFactoryDeclaration<QdTreeRowActionsSecondaryMenuComponent<any>, [null, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<QdTreeRowActionsSecondaryMenuComponent<any>, "[qd-tree-row-actions-secondary-menu]", never, { "rowIndex": { "alias": "rowIndex"; "required": true; }; "rowData": { "alias": "rowData"; "required": true; }; "config": { "alias": "config"; "required": true; }; "testId": { "alias": "testId"; "required": true; }; }, {}, never, never, false, never>;
}
//# sourceMappingURL=tree-row-actions-secondary-menu.component.d.ts.map