import type { SymiConfig } from "../config/config.js";
/**
 * pi-coding-agent's ModelRegistry/AuthStorage expects credentials in auth.json.
 *
 * Symi stores credentials in auth-profiles.json instead. This helper
 * bridges all credentials into agentDir/auth.json so pi-coding-agent can
 * (a) consider providers authenticated and (b) include built-in models in its
 * registry/catalog output.
 *
 * Syncs all credential types: api_key, token (as api_key), and oauth.
 *
 * When a SymiConfig is supplied via options.config, any provider in
 * config.models.providers that declares an inline apiKey is also seeded into
 * auth.json (for providers not already covered by an auth-profile). This is
 * required for user-defined OpenAI-compatible endpoints (e.g. CoreWeave vLLM
 * with apiKey: "none"): without an auth.json entry, pi-coding-agent's
 * AuthStorage treats the provider as unauthenticated and the SDK fails with
 * "Connection error" before any HTTP request is made.
 */
export declare function ensurePiAuthJsonFromAuthProfiles(agentDir: string, options?: {
    config?: SymiConfig;
}): Promise<{
    wrote: boolean;
    authPath: string;
}>;
