import type { PlanuAutocommitOptions, PlanuAutocommitResult } from '../../types/index.js';
export declare function isPlanuAutocommitEnabled(): boolean;
/**
 * Idempotent autocommit for staged planu/ docs.
 *
 * - Skips silently when no planu/ files are staged.
 * - Skips when mid-merge or detached HEAD to avoid corrupt state.
 * - On git commit failure: unstages planu/ and returns a warning.
 * - Never blocks the caller — all errors are surfaced as warnings, not throws.
 */
export declare function planuAutoCommit(opts: PlanuAutocommitOptions): Promise<PlanuAutocommitResult>;
//# sourceMappingURL=planu-autocommit.d.ts.map