export interface CommitResult {
    hash: string | null;
    tddWarning: boolean;
}
/**
 * Returns true if any file in the list matches known test file patterns.
 */
export declare function hasTestFiles(files: string[]): boolean;
/**
 * Stage all changes and commit as a task in the GSD methodology.
 * Message format: feat(NN-NN): description
 * Sets tddWarning=true when no test files are in the commit.
 */
export declare function commitTask(cwd: string, phaseNum: number, planNum: number, description: string): CommitResult;
/**
 * Stage all changes and commit as a docs update.
 * Message format: docs: message
 */
export declare function commitDocs(cwd: string, message: string): CommitResult;
//# sourceMappingURL=git.d.ts.map