import type { World } from '../types.js'; type OptionalTracer = { attachToWorld: (world: World) => void; }; type OpikModule = { createOpikTracer?: (config: { apiKey: string; workspace: string; project?: string; }) => Promise; }; export type OpikRuntimeConfig = { enabled: boolean; safetyEnabled: boolean; evalEnabled: boolean; apiKey?: string; workspace?: string; project?: string; blockOnHighSeverity: boolean; redact: boolean; }; export type AttachOpikResult = 'disabled' | 'already_attached' | 'missing_dependency' | 'missing_config' | 'init_failed' | 'attached'; export type ResolveOpikConfigOptions = { enabledOverride?: boolean; }; export declare function resolveOpikRuntimeConfig(world: World, options?: ResolveOpikConfigOptions): OpikRuntimeConfig; export declare function isOpikSafetyEnabled(world: World, options?: ResolveOpikConfigOptions): boolean; export declare function attachOptionalOpikTracer(world: World, options: ResolveOpikConfigOptions & { source: 'cli' | 'server'; moduleLoader?: () => Promise; }): Promise; export {};