/**
 * `trace_rollups`, one row per trace (run × task × model × trial) (D0091).
 *
 * The per-execution agent-behavior summary: how many turns and tool calls,
 * which docs URLs were opened, which search terms were issued, how many files
 * were written, and the token/latency/cost envelope. Answers "which docs get
 * opened, how much back-and-forth, how expensive" without unpacking every tool
 * call.
 *
 * Grain is one `traces` entry (`EvalTrace`). A run with no traces yields zero
 * rows, absence is normal (trace capture shipped late June).
 *
 * Derives from the canonical `EvalTrace` core type (D0045).
 *
 * @see packages/core/src/types/trace.ts, EvalTrace, TraceEvent
 * @see docs/design-docs/bigquery-analytics-fact-loader.md
 */
import { z } from "zod";
import { type RunFactBase } from "./common.js";
export type TraceRollupFactRow = RunFactBase & {
    readonly mode: string;
    readonly task: string;
    readonly model_id: string;
    readonly trial: number;
    readonly trace_id: string;
    /** LLM request/response cycles (count of `llm_request` events). */
    readonly turn_count: number;
    /** Number of tool calls in the trace. */
    readonly tool_call_count: number;
    /** URLs fetched via WebFetch / WebSearch / browser navigation. */
    readonly urls_visited: string[];
    /** Search queries issued. */
    readonly search_terms: string[];
    /** Count of files created or modified during execution. */
    readonly files_written_count: number;
    /** Aggregate total tokens across all LLM calls. */
    readonly total_tokens: number | null;
    /** Total wall-clock execution time in milliseconds. */
    readonly wall_clock_ms: number | null;
    /** Estimated cost in USD. */
    readonly cost: number | null;
};
declare const rowSchema: z.ZodObject<{
    mode: z.ZodString;
    task: z.ZodString;
    model_id: z.ZodString;
    trial: z.ZodNumber;
    trace_id: z.ZodString;
    turn_count: z.ZodNumber;
    tool_call_count: z.ZodNumber;
    urls_visited: z.ZodArray<z.ZodString>;
    search_terms: z.ZodArray<z.ZodString>;
    files_written_count: z.ZodNumber;
    total_tokens: z.ZodNullable<z.ZodNumber>;
    wall_clock_ms: z.ZodNullable<z.ZodNumber>;
    cost: z.ZodNullable<z.ZodNumber>;
    run_id: z.ZodString;
    report_id: z.ZodNullable<z.ZodString>;
    completed_at: z.ZodString;
    gs_uri: z.ZodString;
}, z.core.$strip>;
export declare const traceRollups: import("../descriptor.js").FactTableDescriptor<import("../descriptor.js").FactRow>;
export { rowSchema as traceRollupFactRowSchema };
