//#region src/utils/provider-detect.d.ts /** * Detect drift between declared and actually-patched LLM providers. * * If an application declares the providers it uses (e.g. `['openai']`) * but `patch()` ends up instrumenting a different set, the SDK logs a * one-time warning so drift between config and runtime is visible. * Declared set is taken from the `expectedProviders` option on * {@link patch}. * * Warn-only: never throws, never blocks `patch()`, never interferes * with event emission. The warning fires once per unique * (expected, patched) combination to avoid log spam. */ interface ProviderMismatchOptions { expectedProviders?: readonly string[] | null; patchedProviders: readonly string[]; appKey?: string | null; } declare function warnIfProviderMismatch(opts: ProviderMismatchOptions): void; declare function _resetForTests(): void; //#endregion export { ProviderMismatchOptions, _resetForTests, warnIfProviderMismatch }; //# sourceMappingURL=provider-detect.d.ts.map