import { z } from "zod"; export declare const GitDiffSideSchema: z.ZodEnum<{ conflicted: "conflicted"; staged: "staged"; unstaged: "unstaged"; }>; export type GitDiffSide = z.infer; export declare const UNATTRIBUTED_ORIGIN = "yours"; export declare const GitScopeSchema: z.ZodObject<{ side: z.ZodOptional>; origin: z.ZodOptional; }, z.core.$strip>; export type GitScope = z.infer; export declare const MAX_ACTION_PATHS = 1000; export declare const GitTargetSchema: z.ZodObject<{ paths: z.ZodOptional>; scope: z.ZodOptional>; origin: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type GitTarget = z.infer; export declare const CommitSchema: z.ZodObject<{ repo: z.ZodString; message: z.ZodString; stage: z.ZodOptional>; scope: z.ZodOptional>; origin: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; export declare const DiscardSchema: z.ZodObject<{ repo: z.ZodString; paths: z.ZodOptional>; scope: z.ZodOptional>; origin: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export declare const GitIndexMoveSchema: z.ZodObject<{ repo: z.ZodString; paths: z.ZodOptional>; scope: z.ZodOptional>; origin: z.ZodOptional; }, z.core.$strip>>; chip: z.ZodOptional; }, z.core.$strip>; export declare const PushSchema: z.ZodObject<{ repo: z.ZodString; branch: z.ZodOptional; }, z.core.$strip>; export declare const PushRefusalSchema: z.ZodEnum<{ hook: "hook"; remote: "remote"; transport: "transport"; }>; export type PushRefusal = z.infer; export declare const PushRunSchema: z.ZodObject<{ status: z.ZodEnum<{ cancelled: "cancelled"; error: "error"; failed: "failed"; idle: "idle"; passed: "passed"; running: "running"; }>; command: z.ZodString; startedAt: z.ZodOptional; finishedAt: z.ZodOptional; exitCode: z.ZodOptional; timedOut: z.ZodOptional; session: z.ZodOptional; output: z.ZodString; repo: z.ZodString; reason: z.ZodOptional; refusedBy: z.ZodOptional>; }, z.core.$strip>; export type PushRun = z.infer; export declare const GitFileQuerySchema: z.ZodObject<{ repo: z.ZodString; path: z.ZodString; }, z.core.$strip>; export declare const GitFileWriteSchema: z.ZodObject<{ repo: z.ZodString; path: z.ZodString; content: z.ZodString; }, z.core.$strip>; export declare const GitFileDiffQuerySchema: z.ZodObject<{ repo: z.ZodString; path: z.ZodString; side: z.ZodEnum<{ conflicted: "conflicted"; staged: "staged"; unstaged: "unstaged"; }>; }, z.core.$strip>; export declare const GitStatusSchema: z.ZodObject<{ branch: z.ZodString; dirty: z.ZodBoolean; files: z.ZodArray; }, z.core.$strip>; export declare const GitFilesSchema: z.ZodObject<{ files: z.ZodArray; }, z.core.$strip>; export declare const GitFileSchema: z.ZodObject<{ path: z.ZodString; content: z.ZodString; }, z.core.$strip>; export declare const RepoTargetSchema: z.ZodObject<{ paths: z.ZodOptional>; scope: z.ZodOptional>; origin: z.ZodOptional; }, z.core.$strip>>; repo: z.ZodString; }, z.core.$strip>; export type RepoTarget = z.infer; export declare const ChangeStatusSchema: z.ZodEnum<{ added: "added"; conflicted: "conflicted"; deleted: "deleted"; modified: "modified"; renamed: "renamed"; "type-changed": "type-changed"; }>; export type ChangeStatus = z.infer; export declare const GitChangeSchema: z.ZodObject<{ path: z.ZodString; status: z.ZodEnum<{ added: "added"; conflicted: "conflicted"; deleted: "deleted"; modified: "modified"; renamed: "renamed"; "type-changed": "type-changed"; }>; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; }, z.core.$strip>; export type GitChange = z.infer; export declare const GitRemoteStateSchema: z.ZodObject<{ remote: z.ZodOptional; branch: z.ZodOptional; upstream: z.ZodOptional; ahead: z.ZodNumber; behind: z.ZodNumber; }, z.core.$strip>; export type GitRemoteState = z.infer; export declare const GitBranchSchema: z.ZodObject<{ name: z.ZodString; current: z.ZodBoolean; upstream: z.ZodOptional; ahead: z.ZodNumber; behind: z.ZodNumber; gone: z.ZodOptional; at: z.ZodNumber; }, z.core.$strip>; export type GitBranch = z.infer; export declare const GitRemoteBranchSchema: z.ZodObject<{ name: z.ZodString; remote: z.ZodString; branch: z.ZodString; at: z.ZodNumber; }, z.core.$strip>; export type GitRemoteBranch = z.infer; export declare const GitBranchesSchema: z.ZodObject<{ branches: z.ZodArray; ahead: z.ZodNumber; behind: z.ZodNumber; gone: z.ZodOptional; at: z.ZodNumber; }, z.core.$strip>>; remotes: z.ZodArray>; }, z.core.$strip>; export type GitBranches = z.infer; export declare const GitBranchCreateAtSchema: z.ZodObject<{ repo: z.ZodString; name: z.ZodString; start: z.ZodOptional; checkout: z.ZodOptional; }, z.core.$strip>; export declare const GitBranchDeleteSchema: z.ZodObject<{ repo: z.ZodString; name: z.ZodString; force: z.ZodOptional; }, z.core.$strip>; export declare const GitOperationSchema: z.ZodEnum<{ "cherry-pick": "cherry-pick"; merge: "merge"; rebase: "rebase"; revert: "revert"; }>; export type GitOperation = z.infer; export declare const GitOperationStateSchema: z.ZodObject<{ repo: z.ZodString; operation: z.ZodOptional>; }, z.core.$strip>; export type GitOperationState = z.infer; export declare const ScratchReasonSchema: z.ZodEnum<{ byproduct: "byproduct"; checkout: "checkout"; hidden: "hidden"; oversized: "oversized"; root: "root"; }>; export type ScratchReason = z.infer; export declare const ScratchPathSchema: z.ZodObject<{ path: z.ZodString; reason: z.ZodEnum<{ byproduct: "byproduct"; checkout: "checkout"; hidden: "hidden"; oversized: "oversized"; root: "root"; }>; files: z.ZodOptional; bytes: z.ZodOptional; }, z.core.$strip>; export type ScratchPath = z.infer; export declare const isScratch: (path: string, scratch: readonly Pick[]) => boolean; export declare const IgnoredOutputKindSchema: z.ZodEnum<{ changed: "changed"; new: "new"; }>; export type IgnoredOutputKind = z.infer; export declare const IgnoredOutputSchema: z.ZodObject<{ path: z.ZodString; kind: z.ZodEnum<{ changed: "changed"; new: "new"; }>; bytes: z.ZodNumber; }, z.core.$strip>; export type IgnoredOutput = z.infer; export declare const IGNORED_OUTPUTS_LISTED = 200; export declare const RepoChangesSchema: z.ZodObject<{ repo: z.ZodString; branch: z.ZodOptional; conflicted: z.ZodArray; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; }, z.core.$strip>>; operation: z.ZodOptional>; staged: z.ZodArray; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; }, z.core.$strip>>; unstaged: z.ZodArray; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; }, z.core.$strip>>; truncated: z.ZodOptional>; scratch: z.ZodOptional; files: z.ZodOptional; bytes: z.ZodOptional; }, z.core.$strip>>>; remote: z.ZodOptional; branch: z.ZodOptional; upstream: z.ZodOptional; ahead: z.ZodNumber; behind: z.ZodNumber; }, z.core.$strip>>; origins: z.ZodOptional>>; error: z.ZodOptional; }, z.core.$strip>; export type RepoChanges = z.infer; export declare const OriginAgentSchema: z.ZodObject<{ title: z.ZodOptional; provider: z.ZodString; landedMessage: z.ZodOptional; breaking: z.ZodOptional; testNote: z.ZodOptional; allows: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; export type OriginAgent = z.infer; export declare const GitChangesSchema: z.ZodObject<{ repos: z.ZodArray; conflicted: z.ZodArray; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; }, z.core.$strip>>; operation: z.ZodOptional>; staged: z.ZodArray; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; }, z.core.$strip>>; unstaged: z.ZodArray; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; }, z.core.$strip>>; truncated: z.ZodOptional>; scratch: z.ZodOptional; files: z.ZodOptional; bytes: z.ZodOptional; }, z.core.$strip>>>; remote: z.ZodOptional; branch: z.ZodOptional; upstream: z.ZodOptional; ahead: z.ZodNumber; behind: z.ZodNumber; }, z.core.$strip>>; origins: z.ZodOptional>>; error: z.ZodOptional; }, z.core.$strip>>; originAgents: z.ZodOptional; provider: z.ZodString; landedMessage: z.ZodOptional; breaking: z.ZodOptional; testNote: z.ZodOptional; allows: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; committing: z.ZodOptional>; }, z.core.$strip>; export type GitChanges = z.infer; export declare const CommitResultSchema: z.ZodObject<{ committed: z.ZodBoolean; changes: z.ZodOptional; conflicted: z.ZodArray; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; }, z.core.$strip>>; operation: z.ZodOptional>; staged: z.ZodArray; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; }, z.core.$strip>>; unstaged: z.ZodArray; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; }, z.core.$strip>>; truncated: z.ZodOptional>; scratch: z.ZodOptional; files: z.ZodOptional; bytes: z.ZodOptional; }, z.core.$strip>>>; remote: z.ZodOptional; branch: z.ZodOptional; upstream: z.ZodOptional; ahead: z.ZodNumber; behind: z.ZodNumber; }, z.core.$strip>>; origins: z.ZodOptional>>; error: z.ZodOptional; }, z.core.$strip>>; originAgents: z.ZodOptional; provider: z.ZodString; landedMessage: z.ZodOptional; breaking: z.ZodOptional; testNote: z.ZodOptional; allows: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>; export type CommitResult = z.infer; export declare const WorkspaceModuleSchema: z.ZodObject<{ dir: z.ZodString; name: z.ZodString; }, z.core.$strip>; export type WorkspaceModule = z.infer; export declare const RepoModulesSchema: z.ZodObject<{ repo: z.ZodString; modules: z.ZodArray>; }, z.core.$strip>; export type RepoModules = z.infer; export declare const WorkspaceModulesSchema: z.ZodObject<{ repos: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; export type WorkspaceModules = z.infer; export declare const AgentChangeSchema: z.ZodObject<{ path: z.ZodString; status: z.ZodEnum<{ added: "added"; conflicted: "conflicted"; deleted: "deleted"; modified: "modified"; renamed: "renamed"; "type-changed": "type-changed"; }>; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; landed: z.ZodBoolean; }, z.core.$strip>; export type AgentChange = z.infer; export declare const AddedDependenciesSchema: z.ZodObject<{ path: z.ZodString; added: z.ZodArray; }, z.core.$strip>; export type AddedDependencies = z.infer; export declare const AgentRepoChangesSchema: z.ZodObject<{ repo: z.ZodString; branch: z.ZodOptional; changes: z.ZodArray; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; landed: z.ZodBoolean; }, z.core.$strip>>; modules: z.ZodArray>; addedDependencies: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>; export type AgentRepoChanges = z.infer; export declare const OutsideCheckoutSchema: z.ZodObject<{ repo: z.ZodString; reason: z.ZodEnum<{ "not-carried": "not-carried"; unborn: "unborn"; unreadable: "unreadable"; }>; files: z.ZodNumber; }, z.core.$strip>; export type OutsideCheckout = z.infer; export declare const AgentChangesSchema: z.ZodObject<{ repos: z.ZodArray; changes: z.ZodArray; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; landed: z.ZodBoolean; }, z.core.$strip>>; modules: z.ZodArray>; addedDependencies: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; absorbed: z.ZodNumber; conflicts: z.ZodOptional; }, z.core.$strip>>; clean: z.ZodNumber; mainBranch: z.ZodOptional; }, z.core.$strip>>>; elsewhere: z.ZodOptional; carried: z.ZodOptional; uncommitted: z.ZodOptional; }, z.core.$strip>>>; scratch: z.ZodOptional; files: z.ZodOptional; bytes: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>>; ignored: z.ZodOptional; bytes: z.ZodNumber; }, z.core.$strip>>; more: z.ZodOptional; }, z.core.$strip>>>; outside: z.ZodOptional; files: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>; export type AgentChanges = z.infer; export declare const AgentConflictsSchema: z.ZodObject<{ conflicts: z.ZodOptional; }, z.core.$strip>>; clean: z.ZodNumber; mainBranch: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>; export type AgentConflicts = z.infer; export declare const AgentScratchSchema: z.ZodObject<{ id: z.ZodString; repo: z.ZodString; paths: z.ZodArray; }, z.core.$strip>; export type AgentScratch = z.infer; export declare const AgentIgnoredSchema: z.ZodObject<{ id: z.ZodString; repo: z.ZodString; paths: z.ZodArray; }, z.core.$strip>; export type AgentIgnored = z.infer; export declare const AgentHistoryCommitSchema: z.ZodObject<{ sha: z.ZodString; short: z.ZodString; subject: z.ZodString; author: z.ZodString; at: z.ZodNumber; changes: z.ZodArray; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; export type AgentHistoryCommit = z.infer; export declare const AgentRepoHistorySchema: z.ZodObject<{ repo: z.ZodString; commits: z.ZodArray; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; modules: z.ZodArray>; }, z.core.$strip>; export type AgentRepoHistory = z.infer; export declare const AgentHistorySchema: z.ZodObject<{ repos: z.ZodArray; from: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; code: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; modules: z.ZodArray>; }, z.core.$strip>>; unaccounted: z.ZodNumber; }, z.core.$strip>; export type AgentHistory = z.infer; //# sourceMappingURL=git.d.ts.map