import { type ThinkingLevel } from "@oh-my-pi/pi-agent-core"; import type { Api, Model } from "@oh-my-pi/pi-ai"; import type { ModelRegistry } from "../../config/model-registry"; import type { Settings } from "../../config/settings"; import type { AuthStorage } from "../../session/auth-storage"; import type { CommitAgentState } from "./state"; export interface CommitAgentInput { cwd: string; model: Model; thinkingLevel?: ThinkingLevel; settings: Settings; modelRegistry: ModelRegistry; authStorage: AuthStorage; userContext?: string; contextFiles?: Array<{ path: string; content: string; }>; changelogTargets: string[]; requireChangelog: boolean; diffText?: string; existingChangelogEntries?: ExistingChangelogEntries[]; } export interface ExistingChangelogEntries { path: string; sections: Array<{ name: string; items: string[]; }>; } export declare function runCommitAgentSession(input: CommitAgentInput): Promise;