import type { ThinkingLevel } from "@gajae-code/agent-core"; import type { Api, Model } from "@gajae-code/ai/core"; export interface ChangelogFlowInput { cwd: string; model: Model; apiKey: string; thinkingLevel?: ThinkingLevel; stagedFiles: string[]; dryRun: boolean; maxDiffChars?: number; onProgress?: (message: string) => void; } export interface ChangelogProposalInput { cwd: string; proposals: Array<{ path: string; entries: Record; deletions?: Record; }>; dryRun: boolean; onProgress?: (message: string) => void; } /** * Update CHANGELOG.md entries for staged changes. */ export declare function runChangelogFlow({ cwd, model, apiKey, thinkingLevel, stagedFiles, dryRun, maxDiffChars, onProgress, }: ChangelogFlowInput): Promise; /** * Apply changelog entries provided by the commit agent. */ export declare function applyChangelogProposals({ cwd, proposals, dryRun, onProgress, }: ChangelogProposalInput): Promise;