import * as i0 from '@angular/core';
import { EventEmitter, OnInit, ViewContainerRef } from '@angular/core';
import { IOperation, IOperationBulk, AuditRecordType } from '@c8y/client';
import { BulkOperationModalDetailsService } from '@c8y/ngx-components/operations/bulk-operation-modal-details';
import { Tab } from '@c8y/ngx-components';

declare class OperationListItemDetailsComponent {
    operation: (IOperation | IOperationBulk) & {
        bulkOperationId?: string | number;
        failureReason?: string;
        result?: any;
        description?: string;
    };
    bulkOperationModalDetailsService: BulkOperationModalDetailsService;
    showFailedOperation: EventEmitter<number>;
    scrollToRetriedFromOperation(failedOperationId: any): void;
    openBulkOperationDetails(bulkOperationId: any): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<OperationListItemDetailsComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<OperationListItemDetailsComponent, "c8y-operation-li-details", never, { "operation": { "alias": "operation"; "required": false; }; "bulkOperationModalDetailsService": { "alias": "bulkOperationModalDetailsService"; "required": false; }; }, { "showFailedOperation": "showFailedOperation"; }, never, never, true, never>;
}

declare class OperationDetailsTabsComponent implements OnInit {
    AuditRecordType: typeof AuditRecordType;
    operation: Partial<IOperation & IOperationBulk>;
    readOnly: boolean;
    bulkOperationModalDetailsService: BulkOperationModalDetailsService;
    onRetryFailedOperations: EventEmitter<Partial<IOperationBulk>>;
    showFailedOperation: EventEmitter<number>;
    detailsTemplate: any;
    auditTemplate: any;
    tabs: Tab[];
    template: ViewContainerRef;
    ngOnInit(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<OperationDetailsTabsComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<OperationDetailsTabsComponent, "c8y-operation-details-tabs", never, { "operation": { "alias": "operation"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "bulkOperationModalDetailsService": { "alias": "bulkOperationModalDetailsService"; "required": false; }; }, { "onRetryFailedOperations": "onRetryFailedOperations"; "showFailedOperation": "showFailedOperation"; }, never, never, true, never>;
}

/**
 * This module allows for displaying the list of single operations and their details.
 */
declare class OperationsListItemDetailsModule {
    static ɵfac: i0.ɵɵFactoryDeclaration<OperationsListItemDetailsModule, never>;
    static ɵmod: i0.ɵɵNgModuleDeclaration<OperationsListItemDetailsModule, never, [typeof OperationListItemDetailsComponent, typeof OperationDetailsTabsComponent], [typeof OperationListItemDetailsComponent, typeof OperationDetailsTabsComponent]>;
    static ɵinj: i0.ɵɵInjectorDeclaration<OperationsListItemDetailsModule>;
}

export { OperationDetailsTabsComponent, OperationListItemDetailsComponent, OperationsListItemDetailsModule };
//# sourceMappingURL=index.d.ts.map
