import type { FieldType } from '@univerjs/core';
import type { IBaseToolbarState } from './BaseToolbar';
import type { IRecordDetailFieldItem } from './editors/record-detail/RecordDetailPanel';
import type { IBaseViewTabItem } from './ViewTabs';
export interface IBaseTableSidebarItem {
    id: string;
    name: string;
    active?: boolean;
    readonly?: boolean;
}
export interface IBaseTableSidebarProps {
    title: string;
    items: IBaseTableSidebarItem[];
    collapsed?: boolean;
    pendingRenameItemId?: string | null;
    onActivateItem?: (itemId: string) => void;
    onAddTable?: () => void;
    onRenameTable?: (itemId: string, name: string) => void;
    onPendingRenameItemConsumed?: (itemId: string) => void;
    onDuplicateTable?: (itemId: string) => void;
    onDeleteTable?: (itemId: string) => void;
    onCollapse?: () => void;
    onExpand?: () => void;
}
export interface IBaseTableSidebarFrameProps extends IBaseTableSidebarProps {
    width?: number;
    minWidth?: number;
    maxWidth?: number;
    onResizeWidth?: (width: number) => void;
}
export type { IBaseToolbarState, IBaseViewTabItem, IRecordDetailFieldItem };
export type BaseRecordDetailValueType = FieldType;
export declare function BaseTableSidebarFrame({ width: widthProp, minWidth, maxWidth, onResizeWidth, ...sidebarProps }: IBaseTableSidebarFrameProps): import("react").JSX.Element;
export declare function BaseTableSidebar({ items, pendingRenameItemId, onActivateItem, onAddTable, onRenameTable, onPendingRenameItemConsumed, onDuplicateTable, onDeleteTable, onCollapse, }: IBaseTableSidebarProps): import("react").JSX.Element;
