import { z } from 'zod'; /** * Schema for creating a pull request */ export declare const CreatePullRequestSchema: z.ZodObject<{ projectId: z.ZodOptional; organizationId: z.ZodOptional; repositoryId: z.ZodString; title: z.ZodString; description: z.ZodOptional; sourceRefName: z.ZodString; targetRefName: z.ZodString; reviewers: z.ZodOptional>; isDraft: z.ZodOptional; workItemRefs: z.ZodOptional>; additionalProperties: z.ZodOptional>; }, "strip", z.ZodTypeAny, { title: string; repositoryId: string; sourceRefName: string; targetRefName: string; projectId?: string | undefined; organizationId?: string | undefined; description?: string | undefined; reviewers?: string[] | undefined; isDraft?: boolean | undefined; workItemRefs?: number[] | undefined; additionalProperties?: Record | undefined; }, { title: string; repositoryId: string; sourceRefName: string; targetRefName: string; projectId?: string | undefined; organizationId?: string | undefined; description?: string | undefined; reviewers?: string[] | undefined; isDraft?: boolean | undefined; workItemRefs?: number[] | undefined; additionalProperties?: Record | undefined; }>; /** * Schema for listing pull requests */ export declare const ListPullRequestsSchema: z.ZodObject<{ projectId: z.ZodOptional; organizationId: z.ZodOptional; repositoryId: z.ZodString; status: z.ZodOptional>; creatorId: z.ZodOptional; reviewerId: z.ZodOptional; sourceRefName: z.ZodOptional; targetRefName: z.ZodOptional; top: z.ZodDefault; skip: z.ZodOptional; }, "strip", z.ZodTypeAny, { top: number; repositoryId: string; status?: "all" | "active" | "completed" | "abandoned" | undefined; projectId?: string | undefined; organizationId?: string | undefined; skip?: number | undefined; sourceRefName?: string | undefined; targetRefName?: string | undefined; creatorId?: string | undefined; reviewerId?: string | undefined; }, { repositoryId: string; status?: "all" | "active" | "completed" | "abandoned" | undefined; projectId?: string | undefined; organizationId?: string | undefined; top?: number | undefined; skip?: number | undefined; sourceRefName?: string | undefined; targetRefName?: string | undefined; creatorId?: string | undefined; reviewerId?: string | undefined; }>; /** * Schema for getting pull request comments */ export declare const GetPullRequestCommentsSchema: z.ZodObject<{ projectId: z.ZodOptional; organizationId: z.ZodOptional; repositoryId: z.ZodString; pullRequestId: z.ZodNumber; threadId: z.ZodOptional; includeDeleted: z.ZodOptional; top: z.ZodOptional; }, "strip", z.ZodTypeAny, { repositoryId: string; pullRequestId: number; projectId?: string | undefined; organizationId?: string | undefined; top?: number | undefined; threadId?: number | undefined; includeDeleted?: boolean | undefined; }, { repositoryId: string; pullRequestId: number; projectId?: string | undefined; organizationId?: string | undefined; top?: number | undefined; threadId?: number | undefined; includeDeleted?: boolean | undefined; }>; /** * Schema for adding a comment to a pull request */ export declare const AddPullRequestCommentSchema: z.ZodEffects; organizationId: z.ZodOptional; repositoryId: z.ZodString; pullRequestId: z.ZodNumber; content: z.ZodString; threadId: z.ZodOptional; parentCommentId: z.ZodOptional; filePath: z.ZodOptional; lineNumber: z.ZodOptional; status: z.ZodOptional>; }, "strip", z.ZodTypeAny, { content: string; repositoryId: string; pullRequestId: number; status?: "unknown" | "active" | "fixed" | "wontFix" | "closed" | "pending" | "byDesign" | undefined; projectId?: string | undefined; organizationId?: string | undefined; threadId?: number | undefined; parentCommentId?: number | undefined; filePath?: string | undefined; lineNumber?: number | undefined; }, { content: string; repositoryId: string; pullRequestId: number; status?: "unknown" | "active" | "fixed" | "wontFix" | "closed" | "pending" | "byDesign" | undefined; projectId?: string | undefined; organizationId?: string | undefined; threadId?: number | undefined; parentCommentId?: number | undefined; filePath?: string | undefined; lineNumber?: number | undefined; }>, { content: string; repositoryId: string; pullRequestId: number; status?: "unknown" | "active" | "fixed" | "wontFix" | "closed" | "pending" | "byDesign" | undefined; projectId?: string | undefined; organizationId?: string | undefined; threadId?: number | undefined; parentCommentId?: number | undefined; filePath?: string | undefined; lineNumber?: number | undefined; }, { content: string; repositoryId: string; pullRequestId: number; status?: "unknown" | "active" | "fixed" | "wontFix" | "closed" | "pending" | "byDesign" | undefined; projectId?: string | undefined; organizationId?: string | undefined; threadId?: number | undefined; parentCommentId?: number | undefined; filePath?: string | undefined; lineNumber?: number | undefined; }>; /** * Schema for updating a pull request */ export declare const UpdatePullRequestSchema: z.ZodObject<{ projectId: z.ZodOptional; organizationId: z.ZodOptional; repositoryId: z.ZodString; pullRequestId: z.ZodNumber; title: z.ZodOptional; description: z.ZodOptional; status: z.ZodOptional>; isDraft: z.ZodOptional; addWorkItemIds: z.ZodOptional>; removeWorkItemIds: z.ZodOptional>; addReviewers: z.ZodOptional>; removeReviewers: z.ZodOptional>; additionalProperties: z.ZodOptional>; }, "strip", z.ZodTypeAny, { repositoryId: string; pullRequestId: number; status?: "active" | "completed" | "abandoned" | undefined; projectId?: string | undefined; organizationId?: string | undefined; title?: string | undefined; description?: string | undefined; isDraft?: boolean | undefined; additionalProperties?: Record | undefined; addWorkItemIds?: number[] | undefined; removeWorkItemIds?: number[] | undefined; addReviewers?: string[] | undefined; removeReviewers?: string[] | undefined; }, { repositoryId: string; pullRequestId: number; status?: "active" | "completed" | "abandoned" | undefined; projectId?: string | undefined; organizationId?: string | undefined; title?: string | undefined; description?: string | undefined; isDraft?: boolean | undefined; additionalProperties?: Record | undefined; addWorkItemIds?: number[] | undefined; removeWorkItemIds?: number[] | undefined; addReviewers?: string[] | undefined; removeReviewers?: string[] | undefined; }>;