import type { ThinkingLevel } from "@gajae-code/agent-core"; import type { Api, Model } from "@gajae-code/ai/core"; import type { CommitSummary } from "../../commit/types"; export interface SummaryInput { model: Model; apiKey: string; thinkingLevel?: ThinkingLevel; commitType: string; scope: string | null; details: string[]; stat: string; maxChars: number; userContext?: string; } /** * Generate a commit summary line for the conventional commit header. */ export declare function generateSummary({ model, apiKey, thinkingLevel, commitType, scope, details, stat, maxChars, userContext, }: SummaryInput): Promise; export declare function stripTypePrefix(summary: string, commitType: string, scope: string | null): string;