import { TestParserOptions } from '../options/testParserOptions.js'; import { ClassInstanceField, ObjectField, TestCollection } from '../parser/models/all.js'; import { PreProcessContext } from './models/preProcessContext.js'; /** * A function that processes an extracted field to identify and create a test or group. * @param test - The field to process. * @param index - The index of the field in the current scope. * @param context - The pre-processing context. * @returns True if the processor handled the field and no further processors should run for it. */ export type PreProcessor = (test: ObjectField | ClassInstanceField, index: number, context: PreProcessContext) => boolean; /** * Executes the pre-processing phase of the test parsing pipeline. * Iterates through all extracted fields and applies a series of processors to identify tests. * * @param fields - The extracted module or class fields. * @param options - Parser configuration options. * @returns A {@link TestCollection} containing the initial set of discovered tests. */ export declare function executePreProcessing(fields: (ObjectField | ClassInstanceField)[], options: TestParserOptions): TestCollection; //# sourceMappingURL=executePreProcessing.d.ts.map