export declare const LLM_MISSING_CREDENTIALS_ERROR_CODE = "missing_credentials"; /** * Set by {@link ../../server/credential-provider.js CredentialStoreUnavailableError} * when the credential store could not be read. Lives here so the classifier can * recognize it without importing server-only code into the browser bundle. */ export declare const CREDENTIAL_STORE_UNAVAILABLE_ERROR_CODE = "credential_store_unavailable"; export declare const LLM_MISSING_CREDENTIALS_MESSAGE = "No LLM provider is connected. Open this app's Manage agent > LLM, then connect Builder.io or add a provider key."; export declare function isLlmCredentialError(error: unknown, errorCode?: string | null): boolean; export declare function formatLlmCredentialErrorMessage(options?: { agentName?: string; }): string; export declare function userFacingLlmCredentialError(error: unknown, options?: { agentName?: string; }): string | null; //# sourceMappingURL=credential-errors.d.ts.map