import { z } from 'zod'; /** * Bitbucket search tool arguments * Specifies what to search for and how to filter results */ export declare const SearchToolArgs: z.ZodObject<{ /** * Workspace slug containing the content to search. * Must be a valid workspace slug from your Bitbucket account. * Example: "myteam" */ workspaceSlug: z.ZodString; /** * Repository slug to search within. * This is required when searching for pull requests. * Optional for code search; if provided, limits code search to the specified repo. * Example: "backend-api" */ repoSlug: z.ZodOptional; /** * Search query to filter results by name, description, or code content. * Required for code search. * Use this to find specific content matching certain terms. */ query: z.ZodOptional; /** * Scope of the search. Options include: * - "repositories" (search only repositories) * - "pullrequests" (search only pull requests) * - "commits" (search only commits) * - "code" (search file content) * - "all" (search repositories and pull requests) * Defaults to "all" if not specified. */ scope: z.ZodOptional>; } & { /** * Maximum number of items to return (1-100). * Use this to control the response size. * Useful for pagination or when you only need a few results. */ limit: z.ZodOptional; /** * Pagination cursor for retrieving the next set of results. * For repositories and pull requests, this is a cursor string. * For code search, this is a page number. * Use this to navigate through large result sets. */ cursor: z.ZodOptional; }, "strip", z.ZodTypeAny, { workspaceSlug: string; cursor?: string | undefined; limit?: number | undefined; query?: string | undefined; repoSlug?: string | undefined; scope?: "code" | "commits" | "repositories" | "pullrequests" | "all" | undefined; }, { workspaceSlug: string; cursor?: string | undefined; limit?: number | undefined; query?: string | undefined; repoSlug?: string | undefined; scope?: "code" | "commits" | "repositories" | "pullrequests" | "all" | undefined; }>; export type SearchToolArgsType = z.infer;