import { OnesTable } from '../../../../@ones-table/common';
import { GC } from '../../../../@ones-table/core';
import { TypedEmitter } from 'tiny-typed-emitter';
import Tabs from '../components/tabs';
import RuleList from './rule-list';
interface RuleManagerContentEvents {
    'new-rule': (manager: RuleManagerContent) => void;
    'edit-rule': (manager: RuleManagerContent, rule: GC.Spread.Sheets.ConditionalFormatting.ConditionRuleBase) => void;
}
export default class RuleManagerContent extends TypedEmitter<RuleManagerContentEvents> {
    private table;
    _root: HTMLElement;
    _tabs: Tabs;
    _ruleList: RuleList;
    constructor(table: OnesTable, parent: HTMLElement);
    root(): HTMLElement;
    destroy(): void;
    handleNewRule: () => void;
    handleEditRule: (list: unknown, rule: GC.Spread.Sheets.ConditionalFormatting.ConditionRuleBase) => void;
    handleTabChange: (tab: Tabs, id: string) => void;
    refresh(): void;
}
export {};
