//#region src/utils/cache-debug-query.d.ts
declare const CACHE_DEBUG_QUERY_NAME: "aiLlmCalls";
interface CacheDebugQueryOptions {
  start: number;
  end: number;
  projectId?: string;
  limit?: number;
}
type SelectField = {
  name: string;
  fieldDataType: string;
  fieldContext: string;
};
declare function buildCacheDebugQuery(conversationId: string, options: CacheDebugQueryOptions): {
  compositeQuery: {
    queries: {
      type: "builder_query";
      spec: {
        name: "aiLlmCalls";
        signal: "traces";
        filter: {
          expression: string;
        };
        selectFields: SelectField[];
        order: {
          key: {
            name: "timestamp";
          };
          direction: "desc";
        }[];
        limit: number;
        stepInterval: 60;
        disabled: false;
      };
    }[];
  };
  projectId?: string | undefined;
  start: number;
  end: number;
  requestType: "raw";
};
//#endregion
export { CACHE_DEBUG_QUERY_NAME, CacheDebugQueryOptions, buildCacheDebugQuery };