export declare const LLM_MISSING_CREDENTIALS_ERROR_CODE = "missing_credentials"; export declare const CREDENTIAL_STORE_UNAVAILABLE_ERROR_CODE = "credential_store_unavailable"; export declare const LLM_MISSING_CREDENTIALS_MESSAGE = "No LLM provider is connected. Open Settings > Agent > AI providers, then use Builder.io (free tier available) or add a provider key."; export declare const GATEWAY_UNAVAILABLE_VISITOR_MESSAGE = "AI features aren't available on this site right now."; export declare function gatewayVisitorFacingError(errorCode?: string): { error: string; errorCode?: string; }; export declare const LLM_CREDENTIAL_KEYS: ReadonlySet; export declare function isLlmCredentialError(error: unknown, errorCode?: string | null): boolean; export declare function formatLlmCredentialErrorMessage(options?: { agentName?: string; visitorFacing?: boolean; }): string; export declare function userFacingLlmCredentialError(error: unknown, options?: { agentName?: string; visitorFacing?: boolean; }): string | null;