import { wixPatternsNestedTableCollapseAndExpandAllSrc144Evid178 } from '@wix/bex-core/bi';
export class NestedTableNestedModeStateBIReporter {
    constructor(state) {
        this.reportExpandCollapseAll = () => {
            const { state } = this;
            this.reportBi(wixPatternsNestedTableCollapseAndExpandAllSrc144Evid178({
                ...state.toolbar._commonDynamicBiParams(),
                clickType: state.isAllCollapsed ? 'Expand' : 'Collapse',
                numLevels: state.levels.length,
            }));
        };
        this.state = state;
    }
    get reportBi() {
        return this.state.wrapper.reportBi;
    }
}
//# sourceMappingURL=NestedTableNestedModeStateBIReporter.js.map