import { type ThinkingLevel } from "@pk-nerdsaver-ai/pi-agent-core";
import type { Api, Model } from "@pk-nerdsaver-ai/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<Api>;
    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<CommitAgentState>;
