import { type Component } from "@earendil-works/pi-tui";
import type { NameFilter, SortMode } from "./session-selector-search.ts";
import type { SessionScope } from "./session-selector-types.ts";
export declare class SessionSelectorHeader implements Component {
    private scope;
    private sortMode;
    private nameFilter;
    private requestRender;
    private loading;
    private loadProgress;
    private showPath;
    private confirmingDeletePath;
    private statusMessage;
    private statusTimeout;
    private showRenameHint;
    constructor(scope: SessionScope, sortMode: SortMode, nameFilter: NameFilter, requestRender: () => void);
    setScope(scope: SessionScope): void;
    setSortMode(sortMode: SortMode): void;
    setNameFilter(nameFilter: NameFilter): void;
    setLoading(loading: boolean): void;
    setProgress(loaded: number, total: number): void;
    setShowPath(showPath: boolean): void;
    setShowRenameHint(show: boolean): void;
    setConfirmingDeletePath(path: string | null): void;
    private clearStatusTimeout;
    setStatusMessage(msg: {
        type: "info" | "error";
        message: string;
    } | null, autoHideMs?: number): void;
    invalidate(): void;
    render(width: number): string[];
}
//# sourceMappingURL=session-selector-header.d.ts.map