import { z } from "zod"; export declare const WorkspaceSearchQuerySchema: z.ZodObject<{ query: z.ZodString; mode: z.ZodOptional>; includeIgnored: z.ZodOptional>; dir: z.ZodOptional; literal: z.ZodOptional>; word: z.ZodOptional>; caseSensitive: z.ZodOptional>; include: z.ZodOptional; limit: z.ZodOptional>; after: z.ZodOptional; }, z.core.$strip>; export type WorkspaceSearchMode = NonNullable["mode"]>; export declare const WorkspaceSearchTagSchema: z.ZodObject<{ kind: z.ZodEnum<{ bm25: "bm25"; call: "call"; def: "def"; fuzzy: "fuzzy"; heuristic: "heuristic"; import: "import"; path: "path"; rerank: "rerank"; sem: "sem"; text: "text"; type: "type"; write: "write"; }>; score: z.ZodOptional; }, z.core.$strip>; export type WorkspaceSearchTag = z.infer; export declare const WorkspaceSearchSpanSchema: z.ZodObject<{ start: z.ZodNumber; end: z.ZodNumber; }, z.core.$strip>; export type WorkspaceSearchSpan = z.infer; export declare const WorkspaceSearchHitSchema: z.ZodObject<{ line: z.ZodNumber; text: z.ZodString; spans: z.ZodArray>; tags: z.ZodArray; score: z.ZodOptional; }, z.core.$strip>>; context: z.ZodOptional; }, z.core.$strip>; export type WorkspaceSearchHit = z.infer; export declare const WorkspaceSearchGroupSchema: z.ZodObject<{ path: z.ZodString; score: z.ZodNumber; hits: z.ZodArray>; tags: z.ZodArray; score: z.ZodOptional; }, z.core.$strip>>; context: z.ZodOptional; }, z.core.$strip>>; capped: z.ZodOptional; }, z.core.$strip>; export type WorkspaceSearchGroup = z.infer; export declare const WorkspaceSearchFreshnessSchema: z.ZodObject<{ state: z.ZodEnum<{ building: "building"; fresh: "fresh"; stale: "stale"; }>; ageMs: z.ZodOptional; progress: z.ZodOptional; behind: z.ZodOptional; }, z.core.$strip>; export type WorkspaceSearchFreshness = z.infer; export declare const WorkspaceSearchResultSchema: z.ZodObject<{ mode: z.ZodString; total: z.ZodNumber; files: z.ZodNumber; shown: z.ZodNumber; groups: z.ZodArray>; tags: z.ZodArray; score: z.ZodOptional; }, z.core.$strip>>; context: z.ZodOptional; }, z.core.$strip>>; capped: z.ZodOptional; }, z.core.$strip>>; freshness: z.ZodObject<{ state: z.ZodEnum<{ building: "building"; fresh: "fresh"; stale: "stale"; }>; ageMs: z.ZodOptional; progress: z.ZodOptional; behind: z.ZodOptional; }, z.core.$strip>; truncated: z.ZodBoolean; partial: z.ZodOptional; cursor: z.ZodOptional; hint: z.ZodOptional; note: z.ZodOptional; related: z.ZodOptional>; candidates: z.ZodOptional>; features: z.ZodOptional>; }, z.core.$strip>; export type WorkspaceSearchResult = z.infer; //# sourceMappingURL=workspace-search.d.ts.map