/**
 * FloorMapEditTopBar - 编辑态顶栏
 * - `mode="compact"`：画布 Tab + 可选 `canvasTabsBarTrailing`（全屏入口在左下 Dock）
 * - `mode="full"`：画布 Tab + `canvasTabsBarTrailing` + 保存（仅非浏览器全屏时）+ 扩展操作
 */
import React from 'react';
import type { CanvasTabsProps } from './CanvasTabs';
import type { FloorMapControlsConfig, FloorMapViewConfig } from '../types';
import './FloorMapEditTopBar.less';
export declare type FloorMapEditTopBarMode = 'full' | 'compact';
export interface FloorMapEditTopBarProps {
    /** full：全屏时的完整顶栏；compact：非全屏时 Tab + 扩展区 */
    mode?: FloorMapEditTopBarMode;
    config: FloorMapViewConfig;
    canvases: CanvasTabsProps['canvases'];
    currentCanvasId: CanvasTabsProps['currentCanvasId'];
    onTabChange: CanvasTabsProps['onTabChange'];
    canEditTabs?: CanvasTabsProps['canEdit'];
    onAddCanvas?: CanvasTabsProps['onAddCanvas'];
    onRemoveCanvas?: CanvasTabsProps['onRemoveCanvas'];
    onRenameCanvas?: CanvasTabsProps['onRenameCanvas'];
    onSave?: () => void;
    saving?: boolean;
    saveError?: Error | string;
    layoutDirty?: boolean;
    /** full 模式：浏览器全屏时为 true，顶栏不展示保存（改由侧栏） */
    isFullscreen?: boolean;
    controls?: FloorMapControlsConfig;
    /** 顶栏右侧扩展（如「区域定位」等），仅 full 模式 */
    extraActions?: React.ReactNode;
    /** 画布 Tab 同排最右侧业务区 */
    canvasTabsBarTrailing?: React.ReactNode;
    /** 启用画布仅 1 个时隐藏 Tab 行，仅保留右侧操作区（全屏顶栏保存等） */
    hideCanvasTabs?: boolean;
    className?: string;
}
export declare function FloorMapEditTopBar(props: FloorMapEditTopBarProps): JSX.Element | null;
export default FloorMapEditTopBar;
