/**
 * GitCommitService
 *
 * Infrastructure adapter for IGitCommitService. Uses the injected
 * ExecFunction to run `git` commands — same strategy as GitRemoteService
 * and WorktreeService so the service can be unit tested against a
 * stubbed executor without spawning real processes.
 */
import type { CommitAndPushResult, CommitChangesInput, CommitChangesResult, IGitCommitService } from '../../../application/ports/output/services/git-commit.service.interface.js';
import type { ExecFunction } from './worktree.service.js';
export declare class GitCommitService implements IGitCommitService {
    private readonly execFile;
    constructor(execFile: ExecFunction);
    commitChanges(input: CommitChangesInput): Promise<CommitChangesResult>;
    commitAndPush(input: CommitChangesInput): Promise<CommitAndPushResult>;
    private stageAndCommit;
    private hasStagedChanges;
    private hasOriginRemote;
}
//# sourceMappingURL=git-commit.service.d.ts.map