import type * as BraintrustSdk from "braintrust"; export interface BraintrustClient { getSdk(): Promise; getRootLogger(): Promise; getExperiment(name: string): Promise; flush(timeoutMs: number): Promise; recordError(err: unknown, ctx: string): void; status(): { lastError: string | null; errorCount: number; project: string; }; } export declare function createClient(opts: { apiKey: string; apiUrl?: string; project: string; }): BraintrustClient;