import type { Integration } from '@sentry/core'; /** * Telemetry configuration. */ export type TelemetrySettings = { /** * Enable or disable telemetry. Disabled by default while experimental. */ isEnabled?: boolean; /** * Enable or disable input recording. Enabled by default. * * You might want to disable input recording to avoid recording sensitive * information, to reduce data transfers, or to increase performance. */ recordInputs?: boolean; /** * Enable or disable output recording. Enabled by default. * * You might want to disable output recording to avoid recording sensitive * information, to reduce data transfers, or to increase performance. */ recordOutputs?: boolean; /** * Identifier for this function. Used to group telemetry data by function. */ functionId?: string; /** * Additional information to include in the telemetry data. */ metadata?: Record; }; /** * Attribute values may be any non-nullish primitive value except an object. * * null or undefined attribute values are invalid and will result in undefined behavior. */ export declare type AttributeValue = string | number | boolean | Array | Array | Array; export interface VercelAiOptions { /** * Enable or disable input recording. Enabled if `sendDefaultPii` is `true` * or if you set `isEnabled` to `true` in your ai SDK method telemetry settings */ recordInputs?: boolean; /** * Enable or disable output recording. Enabled if `sendDefaultPii` is `true` * or if you set `isEnabled` to `true` in your ai SDK method telemetry settings */ recordOutputs?: boolean; /** * By default, the instrumentation will register span processors only when the ai package is used. * If you want to register the span processors even when the ai package usage cannot be detected, you can set `force` to `true`. */ force?: boolean; } export interface VercelAiIntegration extends Integration { options: VercelAiOptions; } //# sourceMappingURL=types.d.ts.map