import type { Command as Program } from 'commander'; import type { CoderGitSyncOptions } from '../../../../scripts/run-codex-prompts/git/coderGitSync'; export type { CoderGitSyncOptions }; /** * Commander option bag for the shared `ptbk coder` git synchronization flags. * * @private internal utility of `promptbookCli` */ export type CoderGitSyncCliOptions = { readonly commit: boolean; readonly autoPush: boolean; readonly autoPull: boolean; }; /** * Description block shared by the `ptbk coder` commands which can synchronize their changes with git. * * @private internal utility of `promptbookCli` */ export declare const CODER_GIT_SYNC_DESCRIPTION: string; /** * Registers the shared `--commit`, `--auto-push` and `--auto-pull` flags on a `ptbk coder` command. * * Note: Unlike `ptbk coder run`, which commits by default and opts out through `--no-commit`, * these commands never touch git unless the flags are used explicitly. * * @private internal utility of `promptbookCli` */ export declare function addCoderGitSyncOptions(command: Program): void; /** * Converts the Commander git synchronization flags into normalized git synchronization options. * * @private internal utility of `promptbookCli` */ export declare function normalizeCoderGitSyncCliOptions(cliOptions: CoderGitSyncCliOptions): CoderGitSyncOptions;