import React, { ReactNode } from "react";
import { WorkspaceDefinition } from "../config/types";
export type MainLayoutProps = {
    rightSidebar?: ReactNode;
    rightSidebarTitle?: string;
    farRightSidebar?: ReactNode;
    farRightSidebarCollapsed?: boolean;
    farRightSidebarTitle?: string;
    /** @deprecated Help terminal is now rendered outside MainLayout for better dialog handling */
    helpTerminal?: ReactNode;
    workspace: WorkspaceDefinition;
    centerPanelView: ReactNode;
    className?: string;
};
type SidebarStackTransition = {
    renderedStacks: string[][];
    openingStackKeys: Set<string>;
};
/**
 * Keep open/close animation for actual column additions and removals, but treat
 * a one-for-one column replacement as an in-place content switch.
 */
export declare function reconcileSidebarStackTransition(renderedStacks: string[][], previousOpenStacks: string[][], nextOpenStacks: string[][]): SidebarStackTransition;
export default function MainLayout(props: MainLayoutProps): React.JSX.Element | null;
export {};
