import type { Run, RunCursor, RunQuery, RunTree } from '../types/tracing.js'; /** Filters and orders runs. Shared by every store, so a query means the same thing everywhere. */ export declare function applyQuery(runs: Run[], query?: RunQuery): Run[]; /** A run's place in query order, for `RunQuery.after`: the next page starts after it. */ export declare function runCursor(run: Pick): RunCursor; /** Whether a run comes after a cursor in query order: older, or as old with a smaller id. */ export declare function isAfterCursor(run: Pick, cursor: RunCursor): boolean; /** Assembles runs into a tree under their root, children ordered by start time. */ export declare function assembleTree(runs: Run[]): RunTree | undefined; export declare function readPath(value: unknown, path: string): unknown;