import { type Component } from "@threadwell/tui";
/**
 * Dynamic border component that adjusts to viewport width.
 *
 * Note: When used from extensions loaded via jiti, the global `theme` may be undefined
 * because jiti creates a separate module cache. Always pass an explicit color
 * function when using DynamicBorder in components exported for extension use.
 */
export declare class DynamicBorder implements Component {
    private color;
    constructor(color?: (str: string) => string);
    invalidate(): void;
    render(width: number): string[];
}
export declare class DynamicFrame implements Component {
    private text;
    private color;
    private wrap;
    private contentStyle;
    private title?;
    constructor(text: string, color?: (str: string) => string, wrap?: boolean, contentStyle?: (str: string) => string, title?: string);
    invalidate(): void;
    render(width: number): string[];
    private renderTopBorder;
}
//# sourceMappingURL=dynamic-border.d.ts.map