import { OnDestroy, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { QdEventBrokerService } from '../../../../../core/services/event-broker.service';
import { QdTableSecondaryActionsService } from '../../../../services/secondary-actions.service';
import { QdTableStoreService } from '../../../../store/table-store.service';
import { QdTableDataRow, QdTableRowIndex } from '../../../../model/table-data.interface';
import { QdTableConfigSecondaryActionType, QdTableSecondaryAction } from '../../../../model/table-config-actions.interface';
import * as i0 from "@angular/core";
interface ResolvedAction extends Pick<QdTableSecondaryAction<any>, 'type' | 'isDisabled' | 'operationMode'> {
    isHidden: boolean;
    i18n: string;
}
export declare class QdTableRowActionsSecondaryMenuComponent<T extends string> implements OnInit, OnDestroy {
    private readonly actionsService;
    private readonly tableStore;
    private readonly eventBroker;
    rowIndex: QdTableRowIndex;
    rowData: QdTableDataRow<T>;
    i18ns: string;
    testId: string;
    viewonly?: boolean;
    private readonly _viewonly$;
    private readonly _destroy$;
    get actions$(): Observable<ResolvedAction[]>;
    constructor(actionsService: QdTableSecondaryActionsService<T>, tableStore: QdTableStoreService<T>, eventBroker: QdEventBrokerService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    onActionClick(type: QdTableConfigSecondaryActionType): void;
    private initViewMode;
    private resolveAction;
    static ɵfac: i0.ɵɵFactoryDeclaration<QdTableRowActionsSecondaryMenuComponent<any>, [null, null, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<QdTableRowActionsSecondaryMenuComponent<any>, "[qd-table-row-actions-secondary-menu]", never, { "rowIndex": { "alias": "rowIndex"; "required": true; }; "rowData": { "alias": "rowData"; "required": true; }; "i18ns": { "alias": "i18ns"; "required": true; }; "testId": { "alias": "testId"; "required": true; }; "viewonly": { "alias": "viewonly"; "required": false; }; }, {}, never, never, false, never>;
}
export {};
//# sourceMappingURL=table-row-actions-secondary-menu.component.d.ts.map