import { TableColumn } from '../components/v2/DataTable/DataTable.vue.d';
import { Emitter } from './mitt';
export type TableEvent = {
    tableName?: string;
};
type PredefinedEvents = {
    'data-table:update-column': {
        tableId: string;
        columns: TableColumn[];
    };
};
export type Events<CustomEvents = Record<string, unknown>> = CustomEvents extends undefined ? PredefinedEvents : CustomEvents & PredefinedEvents;
declare const eventBus: Emitter<Record<string, unknown> & PredefinedEvents>;
export declare const extendEventBus: <T extends Record<string, unknown>>() => Emitter<Events<T>>;
export default eventBus;
