import { SentryApiService } from "./client-njqQAP-R.js";
import { z } from "zod";

//#region src/tools/search-issues/agent.d.ts
declare const outputSchema: z.ZodObject<{
  query: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
  sort: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<["date", "freq", "new", "user"]>>>>;
  explanation: z.ZodString;
}, "strip", z.ZodTypeAny, {
  explanation: string;
  query?: string | null | undefined;
  sort?: "date" | "user" | "new" | "freq" | null | undefined;
}, {
  explanation: string;
  query?: string | null | undefined;
  sort?: "date" | "user" | "new" | "freq" | null | undefined;
}>;
interface SearchIssuesAgentOptions {
  query: string;
  organizationSlug: string;
  apiService: SentryApiService;
  projectId?: string;
}
/**
 * Search issues agent - single entry point for translating natural language queries to Sentry issue search syntax
 * This returns both the translated query result AND the tool calls made by the agent
 */
declare function searchIssuesAgent(options: SearchIssuesAgentOptions): Promise<{
  result: z.infer<typeof outputSchema>;
  toolCalls: any[];
}>;
//#endregion
export { SearchIssuesAgentOptions, searchIssuesAgent };
//# sourceMappingURL=agent-DoYdEiCJ.d.ts.map