/** * 布局管理器 * 负责管理左右分栏布局和拖拽调整 */ export declare class LayoutManager { private container; private leftPanel; private rightPanel; private splitter; private isDragging; private startX; private startLeftWidth; constructor(container: HTMLElement, defaultRatio?: number, theme?: string); /** * 初始化布局 */ private initLayout; /** * 初始化拖拽功能 */ private initResizable; /** * 鼠标按下 */ private handleMouseDown; /** * 鼠标移动 */ private handleMouseMove; /** * 鼠标释放 */ private handleMouseUp; /** * 设置左侧内容 */ setLeftContent(content: string | HTMLElement): void; /** * 获取右侧容器(用于放置编辑器) */ getRightContainer(): HTMLElement; /** * 显示/隐藏左侧面板 */ setQuestionPanelVisible(visible: boolean): void; /** * 设置分割比例 */ setSplitRatio(ratio: number): void; /** * 设置主题 */ setTheme(theme: string): void; /** * 销毁 */ destroy(): void; } //# sourceMappingURL=LayoutManager.d.ts.map