repomix
Version:
A tool to pack repository contents to single file for AI consumption
11 lines • 990 B
TypeScript
import type { TiktokenEncoding } from 'tiktoken';
import type { RepomixProgressCallback } from '../../shared/types.js';
import type { ProcessedFile } from '../file/fileTypes.js';
import type { FileMetrics } from './workers/types.js';
export declare const calculateAllFileMetrics: (processedFiles: ProcessedFile[], tokenCounterEncoding: TiktokenEncoding, progressCallback: RepomixProgressCallback, deps?: {
initTaskRunner: <T, R>(numOfTasks: number, workerPath: string) => import("../../shared/processConcurrency.js").TaskRunner<T, R>;
}) => Promise<FileMetrics[]>;
export declare const calculateSelectiveFileMetrics: (processedFiles: ProcessedFile[], targetFilePaths: string[], tokenCounterEncoding: TiktokenEncoding, progressCallback: RepomixProgressCallback, deps?: {
initTaskRunner: <T, R>(numOfTasks: number, workerPath: string) => import("../../shared/processConcurrency.js").TaskRunner<T, R>;
}) => Promise<FileMetrics[]>;
//# sourceMappingURL=calculateAllFileMetrics.d.ts.map