UNPKG

repomix

Version:

A tool to pack repository contents to single file for AI consumption

14 lines (13 loc) 971 B
import type { RepomixConfigMerged } from '../../config/configSchema.js'; import type { RepomixProgressCallback } from '../../shared/types.js'; import { type FileManipulator } from './fileManipulate.js'; import type { ProcessedFile, RawFile } from './fileTypes.js'; type GetFileManipulator = (filePath: string) => FileManipulator | null; export declare const applyLightweightTransforms: (files: ProcessedFile[], config: RepomixConfigMerged, progressCallback: RepomixProgressCallback, deps: { getFileManipulator: GetFileManipulator; }) => ProcessedFile[]; export declare const processFiles: (rawFiles: RawFile[], config: RepomixConfigMerged, progressCallback: RepomixProgressCallback, deps?: { initTaskRunner: <T, R>(options: import("../../shared/processConcurrency.js").WorkerOptions) => import("../../shared/processConcurrency.js").TaskRunner<T, R>; getFileManipulator: (filePath: string) => FileManipulator | null; }) => Promise<ProcessedFile[]>; export {};