export interface CredentialState { /** `misconfigured` is the ladder's refusal carried as data; `error` says why. */ mode: "hosted" | "local" | "misconfigured"; apiUrl: string | null; apiUrlSource: string | null; apiKeySource: string | null; apiKeyTier: string | null; credentialsFile: string | null; credentialsFileMode: string | null; error: string | null; } export declare function describeCredentialState(): CredentialState;