import { z } from "zod"; /** Zod schema for a single status check on a PR. */ export declare const PrCheckSchema: z.ZodObject<{ name: z.ZodString; status: z.ZodString; conclusion: z.ZodNullable; }, z.core.$strip>; /** Zod schema for a single review on a PR (P1-gap #147). */ export declare const PrReviewItemSchema: z.ZodObject<{ author: z.ZodString; state: z.ZodString; body: z.ZodOptional; submittedAt: z.ZodOptional; }, z.core.$strip>; /** Zod schema for structured pr-view output. */ export declare const PrViewResultSchema: z.ZodObject<{ number: z.ZodNumber; state: z.ZodString; title: z.ZodString; body: z.ZodOptional>; mergeable: z.ZodString; reviewDecision: z.ZodString; checks: z.ZodOptional; }, z.core.$strip>>>; additions: z.ZodNumber; deletions: z.ZodNumber; changedFiles: z.ZodNumber; checksTotal: z.ZodOptional; author: z.ZodOptional; labels: z.ZodOptional>; isDraft: z.ZodOptional; assignees: z.ZodOptional>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; milestone: z.ZodOptional>; projectItems: z.ZodOptional>; reviews: z.ZodOptional; submittedAt: z.ZodOptional; }, z.core.$strip>>>; commitCount: z.ZodOptional; latestCommitSha: z.ZodOptional; }, z.core.$strip>; export type PrViewResult = z.infer; /** Zod schema for a single PR in list output. */ export declare const PrListItemSchema: z.ZodObject<{ number: z.ZodNumber; state: z.ZodString; title: z.ZodString; url: z.ZodOptional; headBranch: z.ZodOptional; author: z.ZodOptional; labels: z.ZodOptional>; isDraft: z.ZodOptional; baseBranch: z.ZodOptional; reviewDecision: z.ZodOptional; mergeable: z.ZodOptional; }, z.core.$strip>; /** Zod schema for structured pr-list output. */ export declare const PrListResultSchema: z.ZodObject<{ prs: z.ZodArray; headBranch: z.ZodOptional; author: z.ZodOptional; labels: z.ZodOptional>; isDraft: z.ZodOptional; baseBranch: z.ZodOptional; reviewDecision: z.ZodOptional; mergeable: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type PrListResult = z.infer; /** Zod schema for structured pr-create output. */ export declare const PrCreateResultSchema: z.ZodObject<{ number: z.ZodNumber; url: z.ZodString; draft: z.ZodOptional; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type PrCreateResult = z.infer; /** Zod schema for structured pr-merge output. */ export declare const PrMergeResultSchema: z.ZodObject<{ number: z.ZodNumber; merged: z.ZodBoolean; method: z.ZodString; branchDeleted: z.ZodOptional; mergeCommitSha: z.ZodOptional; state: z.ZodOptional>; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type PrMergeResult = z.infer; /** Zod schema for structured pr-review output. */ export declare const PrReviewResultSchema: z.ZodObject<{ number: z.ZodNumber; event: z.ZodString; reviewId: z.ZodOptional; reviewDecision: z.ZodOptional; body: z.ZodOptional; errorType: z.ZodOptional>; }, z.core.$strip>; export type PrReviewResult = z.infer; /** Zod schema for a single file entry in a PR diff. */ export declare const PrDiffFileSchema: z.ZodObject<{ file: z.ZodString; status: z.ZodEnum<{ added: "added"; modified: "modified"; deleted: "deleted"; renamed: "renamed"; copied: "copied"; }>; additions: z.ZodNumber; deletions: z.ZodNumber; oldFile: z.ZodOptional; chunks: z.ZodOptional>>; mode: z.ZodOptional; binary: z.ZodOptional; }, z.core.$strip>; /** Zod schema for structured pr-diff output. */ export declare const PrDiffResultSchema: z.ZodObject<{ files: z.ZodArray; additions: z.ZodNumber; deletions: z.ZodNumber; oldFile: z.ZodOptional; chunks: z.ZodOptional>>; mode: z.ZodOptional; binary: z.ZodOptional; }, z.core.$strip>>; truncated: z.ZodOptional; }, z.core.$strip>; export type PrDiffResult = z.infer; /** Zod schema for structured issue-view output. */ export declare const IssueViewResultSchema: z.ZodObject<{ number: z.ZodNumber; state: z.ZodString; title: z.ZodString; body: z.ZodOptional>; labels: z.ZodArray; assignees: z.ZodArray; url: z.ZodString; createdAt: z.ZodString; stateReason: z.ZodOptional>; author: z.ZodOptional; milestone: z.ZodOptional>; updatedAt: z.ZodOptional; closedAt: z.ZodOptional>; isPinned: z.ZodOptional; projectItems: z.ZodOptional>; }, z.core.$strip>; export type IssueViewResult = z.infer; /** Zod schema for a single issue in list output. */ export declare const IssueListItemSchema: z.ZodObject<{ number: z.ZodNumber; state: z.ZodString; title: z.ZodString; url: z.ZodOptional; labels: z.ZodOptional>; assignees: z.ZodOptional>; author: z.ZodOptional; createdAt: z.ZodOptional; milestone: z.ZodOptional>; }, z.core.$strip>; /** Zod schema for structured issue-list output. */ export declare const IssueListResultSchema: z.ZodObject<{ issues: z.ZodArray; labels: z.ZodOptional>; assignees: z.ZodOptional>; author: z.ZodOptional; createdAt: z.ZodOptional; milestone: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; export type IssueListResult = z.infer; /** Zod schema for structured issue-create output. */ export declare const IssueCreateResultSchema: z.ZodObject<{ number: z.ZodNumber; url: z.ZodString; partial: z.ZodOptional; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type IssueCreateResult = z.infer; /** Zod schema for structured issue-close output. */ export declare const IssueCloseResultSchema: z.ZodObject<{ number: z.ZodNumber; state: z.ZodString; url: z.ZodString; reason: z.ZodOptional; commentUrl: z.ZodOptional; alreadyClosed: z.ZodOptional; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type IssueCloseResult = z.infer; /** Zod schema for structured comment result output. */ export declare const CommentResultSchema: z.ZodObject<{ url: z.ZodOptional; operation: z.ZodOptional>; commentId: z.ZodOptional; issueNumber: z.ZodOptional; prNumber: z.ZodOptional; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type CommentResult = z.infer; /** Zod schema for structured pr-update / issue-update output. */ export declare const EditResultSchema: z.ZodObject<{ number: z.ZodNumber; url: z.ZodString; updatedFields: z.ZodOptional>; operations: z.ZodOptional>; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type EditResult = z.infer; /** Zod schema for a single check entry from `gh pr checks`. */ export declare const PrChecksItemSchema: z.ZodObject<{ name: z.ZodString; state: z.ZodString; bucket: z.ZodString; description: z.ZodString; event: z.ZodString; workflow: z.ZodString; link: z.ZodString; startedAt: z.ZodString; completedAt: z.ZodString; }, z.core.$strip>; /** Zod schema for summary counts of PR checks. */ export declare const PrChecksSummarySchema: z.ZodObject<{ total: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; pending: z.ZodNumber; skipped: z.ZodNumber; cancelled: z.ZodNumber; }, z.core.$strip>; /** Zod schema for structured pr-checks output. */ export declare const PrChecksResultSchema: z.ZodObject<{ pr: z.ZodNumber; checks: z.ZodOptional>>; summary: z.ZodOptional>; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; pollCount: z.ZodOptional; waitedSeconds: z.ZodOptional; }, z.core.$strip>; export type PrChecksItem = z.infer; export type PrChecksSummary = z.infer; export type PrChecksResult = z.infer; /** Zod schema for structured pr-close output. */ export declare const PrCloseResultSchema: z.ZodObject<{ number: z.ZodNumber; state: z.ZodString; url: z.ZodString; deletedBranch: z.ZodOptional; alreadyClosed: z.ZodOptional; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type PrCloseResult = z.infer; /** Zod schema for structured pr-reopen output. */ export declare const PrReopenResultSchema: z.ZodObject<{ number: z.ZodNumber; state: z.ZodString; url: z.ZodString; alreadyOpen: z.ZodOptional; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type PrReopenResult = z.infer; /** Zod schema for structured pr-ready output. */ export declare const PrReadyResultSchema: z.ZodObject<{ number: z.ZodNumber; state: z.ZodString; url: z.ZodString; isDraft: z.ZodBoolean; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type PrReadyResult = z.infer; /** Zod schema for a single step in a job. */ export declare const RunStepSchema: z.ZodObject<{ name: z.ZodString; status: z.ZodString; conclusion: z.ZodNullable; }, z.core.$strip>; /** Zod schema for a single job in a workflow run. */ export declare const RunJobSchema: z.ZodObject<{ name: z.ZodString; status: z.ZodString; conclusion: z.ZodNullable; steps: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>; /** Zod schema for structured run-view output. */ export declare const RunViewResultSchema: z.ZodObject<{ id: z.ZodNumber; status: z.ZodString; conclusion: z.ZodNullable; name: z.ZodOptional; workflowName: z.ZodString; headBranch: z.ZodString; jobs: z.ZodOptional; steps: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>>; url: z.ZodString; createdAt: z.ZodOptional; jobsTotal: z.ZodOptional; headSha: z.ZodOptional; event: z.ZodOptional; startedAt: z.ZodOptional; updatedAt: z.ZodOptional; attempt: z.ZodOptional; logs: z.ZodOptional; }, z.core.$strip>; export type RunViewResult = z.infer; /** Zod schema for a single run in list output. */ export declare const RunListItemSchema: z.ZodObject<{ id: z.ZodNumber; status: z.ZodString; conclusion: z.ZodNullable; name: z.ZodOptional; workflowName: z.ZodString; headBranch: z.ZodOptional; url: z.ZodOptional; createdAt: z.ZodOptional; headSha: z.ZodOptional; event: z.ZodOptional; startedAt: z.ZodOptional; attempt: z.ZodOptional; }, z.core.$strip>; /** Zod schema for structured run-list output. */ export declare const RunListResultSchema: z.ZodObject<{ runs: z.ZodArray; name: z.ZodOptional; workflowName: z.ZodString; headBranch: z.ZodOptional; url: z.ZodOptional; createdAt: z.ZodOptional; headSha: z.ZodOptional; event: z.ZodOptional; startedAt: z.ZodOptional; attempt: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type RunListResult = z.infer; /** Zod schema for structured run-rerun output. */ export declare const RunRerunResultSchema: z.ZodObject<{ runId: z.ZodNumber; status: z.ZodEnum<{ "requested-full": "requested-full"; "requested-failed": "requested-failed"; "requested-job": "requested-job"; error: "error"; }>; failedOnly: z.ZodBoolean; url: z.ZodString; job: z.ZodOptional; attempt: z.ZodOptional; newRunUrl: z.ZodOptional; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type RunRerunResult = z.infer; /** Zod schema for structured release-create output. */ export declare const ReleaseCreateResultSchema: z.ZodObject<{ tag: z.ZodString; url: z.ZodString; draft: z.ZodBoolean; prerelease: z.ZodBoolean; id: z.ZodOptional; title: z.ZodOptional; isLatest: z.ZodOptional; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type ReleaseCreateResult = z.infer; /** Zod schema for structured gist-create output. */ export declare const GistCreateResultSchema: z.ZodObject<{ id: z.ZodString; url: z.ZodString; public: z.ZodBoolean; files: z.ZodOptional>; description: z.ZodOptional; fileCount: z.ZodOptional; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type GistCreateResult = z.infer; /** Zod schema for a single release in list output. */ export declare const ReleaseListItemSchema: z.ZodObject<{ tag: z.ZodString; name: z.ZodString; draft: z.ZodBoolean; prerelease: z.ZodBoolean; publishedAt: z.ZodOptional; isLatest: z.ZodOptional; createdAt: z.ZodOptional; }, z.core.$strip>; /** Zod schema for structured release-list output. */ export declare const ReleaseListResultSchema: z.ZodObject<{ releases: z.ZodArray; isLatest: z.ZodOptional; createdAt: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type ReleaseListResult = z.infer; /** Zod schema for structured gh api output. */ export declare const ApiResultSchema: z.ZodObject<{ statusCode: z.ZodNumber; body: z.ZodUnknown; endpoint: z.ZodString; method: z.ZodString; responseHeaders: z.ZodOptional>; pagination: z.ZodOptional; last: z.ZodOptional; }, z.core.$strip>>; graphqlErrors: z.ZodOptional>; errorBody: z.ZodOptional; }, z.core.$strip>; export type ApiResult = z.infer; /** Zod schema for a single label item. */ export declare const LabelItemSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; color: z.ZodString; isDefault: z.ZodBoolean; }, z.core.$strip>; /** Zod schema for structured label-list output. */ export declare const LabelListResultSchema: z.ZodObject<{ labels: z.ZodArray>; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type LabelListResult = z.infer; /** Zod schema for structured label-create output. */ export declare const LabelCreateResultSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; color: z.ZodOptional; url: z.ZodOptional; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type LabelCreateResult = z.infer; /** Zod schema for a single GitHub Actions secret item. Values are never exposed by GitHub. */ export declare const SecretItemSchema: z.ZodObject<{ name: z.ZodString; updatedAt: z.ZodOptional; visibility: z.ZodOptional; numSelectedRepos: z.ZodOptional; selectedReposURL: z.ZodOptional; }, z.core.$strip>; /** Zod schema for structured secret-list output. */ export declare const SecretListResultSchema: z.ZodObject<{ secrets: z.ZodArray; visibility: z.ZodOptional; numSelectedRepos: z.ZodOptional; selectedReposURL: z.ZodOptional; }, z.core.$strip>>; scope: z.ZodEnum<{ repo: "repo"; org: "org"; environment: "environment"; }>; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type SecretListResult = z.infer; /** Zod schema for structured secret set/delete output. */ export declare const SecretMutationResultSchema: z.ZodObject<{ name: z.ZodString; action: z.ZodEnum<{ set: "set"; delete: "delete"; }>; scope: z.ZodEnum<{ repo: "repo"; org: "org"; environment: "environment"; }>; secretValueMasked: z.ZodLiteral; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type SecretMutationResult = z.infer; /** Zod schema for a single GitHub Actions variable item. */ export declare const VariableItemSchema: z.ZodObject<{ name: z.ZodString; value: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; visibility: z.ZodOptional; numSelectedRepos: z.ZodOptional; selectedReposURL: z.ZodOptional; }, z.core.$strip>; /** Zod schema for structured variable-list output. */ export declare const VariableListResultSchema: z.ZodObject<{ variables: z.ZodArray; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; visibility: z.ZodOptional; numSelectedRepos: z.ZodOptional; selectedReposURL: z.ZodOptional; }, z.core.$strip>>; scope: z.ZodEnum<{ repo: "repo"; org: "org"; environment: "environment"; }>; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type VariableListResult = z.infer; /** Zod schema for structured variable set/delete output. */ export declare const VariableMutationResultSchema: z.ZodObject<{ name: z.ZodString; action: z.ZodEnum<{ set: "set"; delete: "delete"; }>; scope: z.ZodEnum<{ repo: "repo"; org: "org"; environment: "environment"; }>; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type VariableMutationResult = z.infer; /** Zod schema for structured repo-view output. */ export declare const RepoViewResultSchema: z.ZodObject<{ name: z.ZodString; owner: z.ZodString; description: z.ZodNullable; url: z.ZodString; homepageUrl: z.ZodOptional>; defaultBranch: z.ZodString; isPrivate: z.ZodBoolean; isArchived: z.ZodBoolean; isFork: z.ZodBoolean; stars: z.ZodNumber; forks: z.ZodNumber; languages: z.ZodOptional>; topics: z.ZodOptional>; license: z.ZodOptional>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; pushedAt: z.ZodOptional; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type RepoViewResult = z.infer; /** Zod schema for structured repo-clone output. */ export declare const RepoCloneResultSchema: z.ZodObject<{ success: z.ZodBoolean; repo: z.ZodString; directory: z.ZodOptional; message: z.ZodString; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type RepoCloneResult = z.infer; /** Zod schema for a single discussion item. */ export declare const DiscussionItemSchema: z.ZodObject<{ number: z.ZodNumber; title: z.ZodString; author: z.ZodString; category: z.ZodString; createdAt: z.ZodString; url: z.ZodString; isAnswered: z.ZodBoolean; comments: z.ZodNumber; }, z.core.$strip>; /** Zod schema for structured discussion-list output. */ export declare const DiscussionListResultSchema: z.ZodObject<{ discussions: z.ZodArray>; errorType: z.ZodOptional>; errorMessage: z.ZodOptional; }, z.core.$strip>; export type DiscussionItem = z.infer; export type DiscussionListResult = z.infer; //# sourceMappingURL=index.d.ts.map