/** * Integration discovery + setup loader for `introspection.init()`. * * Built-in integrations are resolved lazily (a missing framework just skips * its shim) and `setupOnce` runs at most once per identifier per process. */ import { DidNotEnable, isModuleNotFound, type Integration, type IntegrationHandles, type IntegrationSetupContext } from "./base.js"; export { DidNotEnable, isModuleNotFound }; export type { Integration, IntegrationHandles, IntegrationSetupContext }; /** * Return the built-in integrations whose framework is importable. * * Missing optional peer packages are expected and skipped quietly. Any OTHER * failure is surfaced at warn level rather than silently swallowed — it's a * bug, not an absent peer. */ export declare function discoverIntegrations(): Promise; /** * Run each integration's `setupOnce` exactly once. * * @returns the set of identifiers installed so far this process. */ export declare function setupIntegrations(integrations: Integration[], ctx: IntegrationSetupContext): Promise>; /** * Run every integration teardown and clear the run-once guard, so the next * `setupIntegrations()` (e.g. after `introspection.shutdown()` + a fresh * `init()`) re-installs against the rebuilt provider instead of being skipped. */ export declare function teardownIntegrations(): void; /** Clear the run-once guard (running teardowns). Test-only utility. */ export declare function resetInstalledForTests(): void; //# sourceMappingURL=index.d.ts.map