/** * Trace / branch list reads for the v-next Postgres observability domain. * * - `listTraces` / `getRootSpan` filter by `parentSpanId IS NULL`. The partial * indexes declared in ddl.ts make this predicate selective enough to act as * the root-span projection without a separate table. * - `listBranches` filters by `spanType IN (BRANCH_SPAN_TYPES)` (or the * user-supplied spanType when it's a branch type). Branches include nested * anchors as well as root spans of the listed types. */ import type { GetRootSpanArgs, GetRootSpanResponse, ListBranchesArgs, ListBranchesResponse, ListTracesArgs, ListTracesResponse } from '@mastra/core/storage'; import type { DbClient } from '../../../client.js'; export declare function getRootSpan(client: DbClient, schema: string, args: GetRootSpanArgs): Promise; export declare function listTraces(client: DbClient, schema: string, args: ListTracesArgs): Promise; export declare function listBranches(client: DbClient, schema: string, args: ListBranchesArgs): Promise; //# sourceMappingURL=traces.d.ts.map