export interface RepoStatus { readonly branch: string; readonly staged: number; readonly modified: number; readonly added: number; readonly deleted: number; readonly lastCommit: { readonly subject: string; readonly age: string; } | undefined; } export interface SignerInfo { readonly name: string; readonly email: string; readonly format: string; readonly signingKey: string; readonly autoSign: boolean; } export declare function getRepoStatus(cwd?: string): Promise; export declare function getSignerInfo(cwd?: string): Promise; export declare function getStagedFileCount(cwd?: string): Promise; export declare function isHeadCommitSigned(cwd?: string): Promise; export declare function stageAll(cwd?: string): Promise; export declare function commitMessage(message: string, cwd?: string): Promise; export declare function currentBranch(cwd?: string): Promise; export declare function pushBranch(branch: string, cwd?: string): Promise; export declare function getStagedFiles(cwd?: string): Promise>; export declare function getStagedFileSize(file: string, cwd?: string): Promise; export declare function getStagedFileContent(file: string, cwd?: string): Promise; export declare function getStagedDiff(cwd?: string): Promise; export declare function getRecentLog(n: number, cwd?: string): Promise; export type FileChangeKind = 'added' | 'modified' | 'deleted' | 'renamed' | 'unknown'; export interface FileChange { readonly path: string; readonly kind: FileChangeKind; readonly previousPath?: string; } export declare function getAllChangedFiles(cwd?: string): Promise>; export declare function getFileDiff(file: string, cwd?: string): Promise; export declare function stageFile(file: string, cwd?: string): Promise; export declare function unstageAll(cwd?: string): Promise; export declare function getStagedFileSummary(cwd?: string): Promise; export interface BranchInfo { readonly name: string; readonly current: boolean; readonly changedFiles: number; readonly lastCommit: { readonly subject: string; readonly age: string; } | undefined; readonly worktreePath: string | undefined; } export declare function detectDefaultBranch(cwd?: string): Promise; export interface WorktreeRecord { readonly path: string; readonly branch: string | undefined; readonly head: string; readonly bare: boolean; readonly detached: boolean; } export declare function listWorktrees(cwd?: string): Promise>; export declare function listBranches(cwd?: string): Promise>; export declare function ensureWorktreeForBranch(branch: string, root: string, cwd?: string): Promise; export declare function hasUncommittedChanges(cwd?: string): Promise; //# sourceMappingURL=git.d.ts.map