import type { BoxProps } from 'ink';
import { type TitleShape } from './styled-title.js';
export interface TitledBoxProps extends Omit<BoxProps, 'borderStyle'> {
    /** Title to display in the top border */
    title: string;
    /** Border color */
    borderColor?: string;
    /** Shape style for the title */
    shape?: TitleShape;
    /** Icon to display before title */
    icon?: string;
    /** Reverse powerline symbol order (right-left instead of left-right) */
    reversePowerline?: boolean;
    /** Children to render inside the box */
    children: React.ReactNode;
}
/**
 * A simple titled box component that displays a title with stylized shapes
 * above a bordered box. Replacement for @mishieck/ink-titled-box.
 */
export declare function TitledBox({ title, borderColor, shape, icon, reversePowerline, children, width, paddingX, paddingY, flexDirection, marginBottom, ...boxProps }: TitledBoxProps): import("react/jsx-runtime").JSX.Element;
/**
 * A titled box component that respects user's preferred title shape from context
 * Falls back to the explicit shape if provided, then to user preference, then to 'pill'
 */
export declare function TitledBoxWithPreferences({ title, borderColor, shape, icon, reversePowerline, children, width, paddingX, paddingY, flexDirection, marginBottom, }: TitledBoxProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=titled-box.d.ts.map