export type ProviderTabId = "all" | string;
export declare const ALL_PROVIDER_TAB: "all";
export declare const PROVIDER_ORDER: readonly ["anthropic", "deepseek", "google", "mimo", "minimax", "openai-codex", "openrouter", "zai"];
export declare function providerTabIdForProvider(providerId: string | null | undefined): ProviderTabId | null;
export declare function buildProviderTabs(providerIds: readonly string[]): ProviderTabId[];
export declare function normalizeProviderTab(value: string | null | undefined, tabs: readonly ProviderTabId[]): ProviderTabId;
export declare function nextProviderTab(tabs: readonly ProviderTabId[], active: ProviderTabId, direction: 1 | -1): ProviderTabId;
export type ModelPickerState = {
    activeProviderTab: ProviderTabId;
    cursor: number;
    query: string;
};
export declare function createModelPickerState(activeProviderTab?: string | null | undefined): ModelPickerState;
export declare function initializeModelPickerState(args: {
    state: ModelPickerState;
    providerIds: readonly string[];
    explicitProviderTab?: string | null | undefined;
}): readonly ProviderTabId[];
export declare function debugModelTabs(args: {
    providerIds: readonly string[];
    tabs: readonly ProviderTabId[];
    activeProviderTab: ProviderTabId;
    key?: string;
    nextProviderTab?: ProviderTabId;
    runtimeProvider?: string;
    runtimeModel?: string;
    visibleRowCount?: number;
}): void;
export declare function handleModelPickerKey(args: {
    key: string;
    state: ModelPickerState;
    providerIds: readonly string[];
}): boolean;
