import { type ResolvedAiGatewayCredentials, type SetupState } from "../state.js";
import type { SetupBox } from "../step.js";
export declare function detectAiGatewayResolution(projectRoot: string): Promise<ResolvedAiGatewayCredentials>;
/**
 * THE AI GATEWAY DETECTION BOX: reads the scaffolded project's `.env.local` and
 * `.env` for an existing `AI_GATEWAY_API_KEY` so the credential step can skip
 * work already done. Pure detection: it prompts for nothing, so the single
 * gather produces an empty input in every mode.
 */
export declare function detectAiGateway(): SetupBox<SetupState, null, ResolvedAiGatewayCredentials>;
