import type { Component } from "@oh-my-pi/pi-tui";
/**
 * Dynamic border component that adjusts to viewport width.
 *
 * Note: When used from hooks 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 hook use.
 */
export declare class DynamicBorder implements Component {
    #private;
    constructor(color?: (str: string) => string);
    invalidate(): void;
    render(width: number): readonly string[];
}
