import type { ComponentType } from 'react';
import type { WorkspacePanelType } from './types';
/** 子面板类型标记，用于识别 memo / forwardRef 包裹后的组件 */
export declare const WORKSPACE_PANEL_TYPE: unique symbol;
export type WorkspacePanelComponent = ComponentType<unknown> & {
    [WORKSPACE_PANEL_TYPE]?: WorkspacePanelType;
};
/** Segmented 首个「实时跟随」后的占位分隔项，禁止作为业务 tab key */
export declare const WORKSPACE_SEGMENTED_DIVIDER_KEY = "__divider__";
export declare const isWorkspacePanelType: (value: unknown) => value is WorkspacePanelType;
/** 归一化标签 key，避免 `null` / 空白字符串参与比较 */
export declare const normalizeTabKey: (key: unknown) => string;
export declare const isWorkspaceSegmentedDividerKey: (key: unknown) => boolean;
export declare function markWorkspacePanel<P extends WorkspacePanelType, C>(component: C, panelType: P): C;
/**
 * 从 React 元素 type 链（含 memo / forwardRef 外层）解析内置子面板类型
 */
export declare function resolveWorkspacePanelType(type: unknown): WorkspacePanelType | undefined;
export declare const isFileWorkspacePanel: (panelType: WorkspacePanelType | undefined) => boolean;
