import { type ExtractCommitAchievementsPromptProps, type ExtractedAchievement } from './prompts/types'; import { type LanguageModel } from 'ai'; /** * Options for extraction execution */ export interface ExecuteOptions { /** Optional custom model to use. If not provided, uses getExtractionModel() */ model?: LanguageModel; } /** * Renders the prompt that extracts achievements from commit messages * * @param data All data needed to render the prompt * @returns a string that can be used to execute the prompt */ export declare function render(data: ExtractCommitAchievementsPromptProps): Promise; /** * executeStream takes a prompt and returns an async generator that yields * an ExtractedAchievement object for each achievement in the prompt. * * @param prompt The prompt to extract achievements from * @param options Optional execution options including custom model */ export declare function executeStream(prompt: string, options?: ExecuteOptions): AsyncGenerator; /** * Executes a pre-rendered prompt string and returns an array of ExtractedAchievement objects * * @param prompt The prompt to extract achievements from * @param options Optional execution options including custom model */ export declare function execute(prompt: string, options?: ExecuteOptions): Promise; /** * renderExecute takes a data argument, renders the prompt with it, then executes * the prompt, returning the array of ExtractedAchievement objects. * * @param data The data to render the prompt with * @param options Optional execution options including custom model * @returns ExtractedAchievement[] */ export declare function renderExecute(data: ExtractCommitAchievementsPromptProps, options?: ExecuteOptions): Promise; //# sourceMappingURL=extract-commit-achievements.d.ts.map