import { z } from 'zod'; /** * Schema for list-pull-requests tool arguments */ export declare const ListPullRequestsToolArgs: z.ZodObject<{ limit: z.ZodOptional; cursor: z.ZodOptional; /** * Workspace slug containing the repository */ workspaceSlug: z.ZodString; /** * Repository slug containing the pull requests */ repoSlug: z.ZodString; /** * Filter by pull request state */ state: z.ZodOptional>; /** * Filter query for pull requests */ query: z.ZodOptional; }, "strip", z.ZodTypeAny, { workspaceSlug: string; repoSlug: string; cursor?: string | undefined; limit?: number | undefined; state?: "OPEN" | "MERGED" | "DECLINED" | "SUPERSEDED" | undefined; query?: string | undefined; }, { workspaceSlug: string; repoSlug: string; cursor?: string | undefined; limit?: number | undefined; state?: "OPEN" | "MERGED" | "DECLINED" | "SUPERSEDED" | undefined; query?: string | undefined; }>; export type ListPullRequestsToolArgsType = z.infer; /** * Schema for get-pull-request tool arguments */ export declare const GetPullRequestToolArgs: z.ZodObject<{ /** * Workspace slug containing the repository */ workspaceSlug: z.ZodString; /** * Repository slug containing the pull request */ repoSlug: z.ZodString; /** * Pull request identifier */ prId: z.ZodString; /** * Optional flag to request the full diff */ fullDiff: z.ZodOptional; }, "strip", z.ZodTypeAny, { workspaceSlug: string; repoSlug: string; prId: string; fullDiff?: boolean | undefined; }, { workspaceSlug: string; repoSlug: string; prId: string; fullDiff?: boolean | undefined; }>; export type GetPullRequestToolArgsType = z.infer; /** * Schema for list-pr-comments tool arguments */ export declare const ListPullRequestCommentsToolArgs: z.ZodObject<{ limit: z.ZodOptional; cursor: z.ZodOptional; /** * Workspace slug containing the repository */ workspaceSlug: z.ZodString; /** * Repository slug containing the pull request */ repoSlug: z.ZodString; /** * Pull request identifier */ prId: z.ZodString; }, "strip", z.ZodTypeAny, { workspaceSlug: string; repoSlug: string; prId: string; cursor?: string | undefined; limit?: number | undefined; }, { workspaceSlug: string; repoSlug: string; prId: string; cursor?: string | undefined; limit?: number | undefined; }>; export type ListPullRequestCommentsToolArgsType = z.infer; /** * Schema for create-pr-comment tool arguments */ export declare const CreatePullRequestCommentToolArgs: z.ZodObject<{ /** * Workspace slug containing the repository */ workspaceSlug: z.ZodString; /** * Repository slug containing the pull request */ repoSlug: z.ZodString; /** * Pull request identifier */ prId: z.ZodString; /** * Comment content */ content: z.ZodString; /** * Optional inline location for the comment */ inline: z.ZodOptional>; }, "strip", z.ZodTypeAny, { workspaceSlug: string; content: string; repoSlug: string; prId: string; inline?: { path: string; line: number; } | undefined; }, { workspaceSlug: string; content: string; repoSlug: string; prId: string; inline?: { path: string; line: number; } | undefined; }>; export type CreatePullRequestCommentToolArgsType = z.infer; /** * Arguments schema for the pull_requests_create tool */ export declare const CreatePullRequestToolArgs: z.ZodObject<{ /** * Workspace slug containing the repository */ workspaceSlug: z.ZodString; /** * Repository slug to create the pull request in */ repoSlug: z.ZodString; /** * Title of the pull request */ title: z.ZodString; /** * Source branch name */ sourceBranch: z.ZodString; /** * Destination branch name */ destinationBranch: z.ZodOptional; /** * Description for the pull request */ description: z.ZodOptional; /** * Whether to close the source branch after merge */ closeSourceBranch: z.ZodOptional; }, "strip", z.ZodTypeAny, { workspaceSlug: string; repoSlug: string; title: string; sourceBranch: string; description?: string | undefined; destinationBranch?: string | undefined; closeSourceBranch?: boolean | undefined; }, { workspaceSlug: string; repoSlug: string; title: string; sourceBranch: string; description?: string | undefined; destinationBranch?: string | undefined; closeSourceBranch?: boolean | undefined; }>; export type CreatePullRequestToolArgsType = z.infer;