import { resolveApiKeyForProvider } from "./resolve-api-key.js";
//#region src/providers/auth-runtime/is-configured.ts
/**
* Synchronous "do we have any usable credential" check for capability providers.
*
* Used by:
*   - Provider.isConfigured?({ cfg })
*   - Tool default-model resolution (skip providers without credentials)
*   - Web UI status badge
*
* Must NOT touch keychain or trigger OS prompts.
*/
function isProviderApiKeyConfigured(options) {
	return Boolean(resolveApiKeyForProvider(options));
}
//#endregion
export { isProviderApiKeyConfigured };

//# sourceMappingURL=is-configured.js.map