import type { ExtractedLesson, SearchResult, TotemConfig } from '@mmnto/totem';
import type { StandardPr, StandardReviewComment } from '../adapters/pr-adapter.js';
import type { ExtractOptions } from './extract-shared.js';
interface CommentThread {
    path: string;
    diffHunk: string;
    comments: {
        id?: number;
        author: string;
        body: string;
    }[];
}
export declare function groupIntoThreads(comments: StandardReviewComment[]): CommentThread[];
export declare const DEFAULT_BOT_MARKERS: readonly string[];
export declare function isGcaBoilerplate(body: string, botMarkers: readonly string[]): boolean;
export declare function assemblePrompt(pr: StandardPr, threads: CommentThread[], existingLessons: SearchResult[], systemPrompt: string, nits?: string[], botMarkers?: readonly string[], scopeGlobs?: string[]): string;
export declare function extractFromPrs(nums: number[], options: ExtractOptions, config: TotemConfig, cwd: string, _configRoot: string): Promise<ExtractedLesson[]>;
export {};
//# sourceMappingURL=extract-pr.d.ts.map