/**
 * Spinner/loader wrapped in top/bottom borders for extension UI.
 *
 * Optionally cancellable — when cancellable, exposes an AbortSignal
 * and renders a cancel keybinding hint below the spinner.
 */
import { Container, type TUI } from '../../../tui/index.js';
import type { Theme } from '../../theme/runtime.js';
/** Loader wrapped with borders for extension UI */
export declare class BorderedLoader extends Container {
    private loader;
    private cancellable;
    private signalController?;
    constructor(tui: TUI, theme: Theme, message: string, options?: {
        cancellable?: boolean;
    });
    get signal(): AbortSignal;
    set onAbort(fn: (() => void) | undefined);
    handleInput(data: string): void;
    dispose(): void;
}
//# sourceMappingURL=bordered-loader.d.ts.map