import { AgentEventStream } from '@tarko/interface'; import { AgentUIBuilderInputOptions } from '@tarko/agent-ui-builder'; /** * Deep partial utility type */ type DeepPartial = { [P in keyof T]?: T[P] extends object ? DeepPartial : T[P]; }; /** * CLI options for the agui command */ export interface AguiCLIOptions { /** Output file path */ out?: string; /** Path to transformer file */ transformer?: string; /** Path to config file */ config?: string; /** Upload URL for sharing */ upload?: string; /** Dump transformed JSON to file */ dumpTransformed?: boolean; } /** * Transformer function type */ export type TraceTransformer = (input: T) => { events: AgentEventStream.Event[]; }; /** * Supported trace formats */ export interface TraceData { events: AgentEventStream.Event[]; } /** * AGUI configuration type - allows deep partial configuration */ export type AguiConfig = DeepPartial; /** * Helper function to define transformer with type safety */ export declare function defineTransformer(transformer: TraceTransformer): TraceTransformer; /** * Helper function to define config with type safety */ export declare function defineConfig(config: AguiConfig): AguiConfig; export {}; //# sourceMappingURL=types.d.ts.map