/**
 * FloorMapEditTopBar - 编辑态顶栏
 * - `mode="compact"`：画布 Tab + 可选 `canvasTabsBarTrailing` + 全屏入口（非全屏；保存多在侧栏）
 * - `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;
    toggleFullscreen?: () => void;
    isFullscreen?: boolean;
    controls?: FloorMapControlsConfig;
    /** 顶栏右侧扩展（如「区域定位」等），仅 full 模式 */
    extraActions?: React.ReactNode;
    /** 画布 Tab 同排最右侧业务区（在「进入全屏」/「退出全屏」与保存等之前） */
    canvasTabsBarTrailing?: React.ReactNode;
    className?: string;
}
export declare function FloorMapEditTopBar(props: FloorMapEditTopBarProps): React.JSX.Element;
export default FloorMapEditTopBar;
