import type { GalleryProjection, GanttProjection, GridProjection, IViewSnapshot, KanbanProjection } from '@univerjs/core';
import type { ReactNode } from 'react';
import type { IBaseConditionalColorRule } from '../../components/panels/conditional-coloring/ConditionalColoringPanel';
import type { IBaseToolbarPanelState } from '../../services/base-ui-state.types';
import type { IBaseWorkbenchContext } from './WorkbenchContext';
import { IBaseProjectionService } from '@univerjs-pro/bases';
import { IBaseUIStateService } from '../../services/base-ui-state.service';
interface IBaseHeaderMenuViewProps {
    context: IBaseWorkbenchContext | null;
    renderToolbarPanel?: (props: {
        context: IBaseWorkbenchContext;
        toolbarPanel: IBaseToolbarPanelState;
    }) => ReactNode;
    helpers: {
        countConfiguredFilters: (filter: IViewSnapshot['filter']) => number;
        countConfiguredGroups: (groups: IViewSnapshot['group']) => number;
        countConfiguredSorts: (sorts: IViewSnapshot['sort']) => number;
        createInitialDraftRecordValues: (context: IBaseWorkbenchContext, projectionService: IBaseProjectionService) => Record<string, unknown>;
        normalizeConditionalColoringConfig: (value: unknown) => IBaseConditionalColorRule[];
        resolveKanbanGroupFieldId: (context: IBaseWorkbenchContext) => string | null;
        scrollGalleryRecordIntoView: (viewId: string, projection: GalleryProjection, stateService: IBaseUIStateService, recordId: string) => void;
        scrollGanttRecordIntoView: (viewId: string, projection: GanttProjection, stateService: IBaseUIStateService, recordId: string) => void;
        scrollGridMatchIntoView: (context: IBaseWorkbenchContext, projection: GridProjection, stateService: IBaseUIStateService, recordId: string, fieldId: string) => void;
        scrollKanbanRecordIntoView: (viewId: string, projection: KanbanProjection, stateService: IBaseUIStateService, recordId: string) => void;
    };
}
export declare function RenderBaseHeader(props?: {
    startInset?: boolean;
}): import("react").JSX.Element;
export declare function RenderBaseHeaderMenu(props?: {
    renderToolbarPanel?: IBaseHeaderMenuViewProps['renderToolbarPanel'];
}): import("react").JSX.Element;
export {};
