import { MynahUI, DetailedListItemGroup } from '@aws/mynah-ui';
import { Messager } from '../messager';
import { ListRulesResult } from '@aws/language-server-runtimes-types';
import { RulesFolder } from '@aws/language-server-runtimes-types';
import { MynahDetailedList } from './history';
export declare const ContextRule: {
    readonly CreateRuleId: "create-rule";
    readonly CancelButtonId: "cancel-create-rule";
    readonly SubmitButtonId: "submit-create-rule";
    readonly RuleNameFieldId: "rule-name";
};
export declare class RulesList {
    private mynahUi;
    private messager;
    rulesList: MynahDetailedList | undefined;
    tabId: string;
    constructor(mynahUi: MynahUI, messager: Messager);
    private onRuleFolderClick;
    private onRuleClick;
    showLoading(tabId: string): void;
    show(params: ListRulesResult): void;
    private onKeyPress;
    close(): void;
    private onClose;
}
export declare function convertRulesListToDetailedListGroup(rules: RulesFolder[]): DetailedListItemGroup[];
