import { IColorTheme } from "../../../platform/theme/common/themeService.js"; /** * Marks a part as a floating content card. Carries the shared background, * border, corner radius and outer margin (see `media/workbench.css`) so every * content part in the Agents window is styled from one place. */ export declare const AGENTS_PART_CARD_CLASS = "agents-part-card"; export declare const AGENTS_SIDE_PANE_MULTIPLE_TABS_CLASS = "agents-side-pane-multiple-tabs"; /** Visual metrics of a card part, kept in sync with the CSS in `media/workbench.css`. */ export declare const AgentsPartCard: { readonly MARGIN_TOP: 0; readonly MARGIN_LEFT: 0; readonly MARGIN_LEFT_NO_SIDEBAR: 4; readonly MARGIN_RIGHT: 4; readonly MARGIN_RIGHT_NO_EDITOR_PANE: 0; readonly MARGIN_BOTTOM: 0; readonly BORDER_WIDTH: 1; }; /** Returns the inset between the Sessions Part allocation and its visible session frames. */ export declare function getSessionsPartFrameInset(container: HTMLElement): number; /** Returns the inset between the side-pane allocation and its connected editor frame. */ export declare function getSidePaneFrameInset(container: HTMLElement): number; /** Returns the amount needed to align an outer side-pane frame with Sessions above a justified panel. */ export declare function getSidePaneBottomFrameInset(container: HTMLElement): number; /** Returns the Sessions Part margin that preserves the visible gap beside the side pane. */ export declare function getSessionsPartCardMarginRight(container: HTMLElement): number; /** Content box of a card part, filling the grid in compact or phone layouts. */ export declare function getAgentsPartCardContentSize(width: number, height: number, editorPaneVisible: boolean, sidebarVisible: boolean, phoneLayout: boolean, compact?: boolean, editorPaneMarginRight?: number): { readonly width: number; readonly height: number; }; /** Publishes the themed card colors that `media/workbench.css` draws the card from. */ export declare function applyAgentsPartCardStyles(container: HTMLElement, theme: IColorTheme): void; /** Clears the inline card colors so CSS can take over (phone layout). */ export declare function clearAgentsPartCardStyles(container: HTMLElement): void;