/*!
 * Copyright 2020 VMware, Inc.
 * SPDX-License-Identifier: BSD-2-Clause
 */
import { TranslationService } from '@vcd/i18n';
import { ActionItem } from '../common/interfaces';
import { QuickSearchProvider, QuickSearchProviderDefaults, QuickSearchResult } from '../quick-search';
export declare const DEFAULT_ACTION_SEARCH_SECTION_HEADER_PREFIX = "vcd.cc.action.provider.section.title";
export declare class ActionSearchProvider<R, T> extends QuickSearchProviderDefaults implements QuickSearchProvider {
    private ts;
    private flatListOfAvailableActions;
    /**
     * Initialized by the calling component and is used for searching of the search criteria entered in {@link QuickSearchComponent}
     */
    private _actions;
    set actions(actions: ActionItem<R, T>[]);
    /**
     * Used in {@link isActionDisabled} to calculate disabled state of actions  and also in action handler
     */
    private _selectedEntities;
    set selectedEntities(entities: R[]);
    constructor(ts: TranslationService);
    /**
     * Searches through nested actions and finds all the actions that match with entered search text on the
     * {@link QuickSearchComponent}
     */
    search(criteria: string): QuickSearchResult[];
    private getActions;
    private getFlatListOfAvailableActions;
    private isActionAvailable;
    private isActionDisabled;
}
