import type { RouteContext, RouteResult } from "./routes.js";
import type { UiHandlerDeps } from "./deps.js";
export declare const MAX_DISCOVERED_MODELS = 100;
export declare function isExplicitlyNonChatModel(item: Record<string, unknown>): boolean;
export declare function modelIdFromDiscoveryItem(item: unknown): string | undefined;
export declare function parseModelList(payload: unknown): readonly string[];
export declare function normalizeDiscoveryPayload(payload: unknown): readonly string[];
export declare function smokeTestCandidates(candidates: readonly string[], probe: (modelId: string) => Promise<void>, concurrency: number): Promise<readonly string[]>;
export declare function handleGatewaySetup(ctx: RouteContext, deps: UiHandlerDeps): Promise<RouteResult>;
//# sourceMappingURL=gateway-setup.d.ts.map