/**
 * Agent with statistics
 */
export interface AgentStats {
    name: string;
    description: string | null;
    total_runs: number;
    total_events: number;
    total_cost: number;
    avg_cost_per_run: number;
    created_at: string;
}
/**
 * Run details
 */
export interface RunDetails {
    run_id: string;
    run_name: string;
    agent_name: string;
    environment: string;
    status: string;
    total_duration_ms: number | null;
    total_cost: number | null;
    tokens_in: number | null;
    tokens_out: number | null;
    metadata: any;
    created_at: string;
    event_count: number;
}
/**
 * Event data
 */
export interface Event {
    event_id: string;
    run_id: string;
    agent_name: string;
    event_type: string;
    timestamp: string;
    parent_event_id: string | null;
    previous_event_id: string | null;
    data: any;
}
/**
 * List all agents with statistics
 */
export declare function listAgents(): AgentStats[];
/**
 * Get agent statistics
 */
export declare function getAgentStats(agentName: string): AgentStats | null;
/**
 * List runs for an agent
 */
export declare function listRuns(agentName: string, limit?: number, offset?: number): RunDetails[];
/**
 * Get run details by name
 */
export declare function getRunByName(agentName: string, runName: string): RunDetails | null;
/**
 * Get timeline events for a run
 */
export declare function getRunTimeline(runId: string): Event[];
/**
 * Get execution trace (hierarchical tree)
 */
export declare function getExecutionTrace(runId: string): Event[];
/**
 * Search events by criteria
 */
export declare function searchEvents(agentName?: string, eventType?: string, startTime?: Date, endTime?: Date, limit?: number): Event[];
/**
 * Get global metrics across all agents
 */
export declare function getGlobalMetrics(): any;
/**
 * Get cost breakdown by model
 */
export declare function getCostBreakdown(agentName?: string): any[];
/**
 * Compare runs
 */
export declare function compareRuns(runIds: string[]): RunDetails[];
//# sourceMappingURL=queries.d.ts.map