import { TestModule } from '#src/extractTestsFromModule'; import { TestParserOptions } from '../options/testParserOptions.js'; import { Test, TestCollection } from '../parser/models/all.js'; import { PostProcessContext } from './models/postProcessContext.js'; /** * A function that further refines or expands a discovered test. * @param test - The test to process. * @param index - The index of the test in the pre-processed collection. * @param context - The post-processing context. * @returns True if the test was handled and should not be automatically added to the final collection. */ export type PostProcessor = (test: Test, index: number, context: PostProcessContext) => boolean; /** * Executes the post-processing phase of the test parsing pipeline. * Handles logic like parameterized test expansion and 'only' filter application. * * @param moduleToParse - The original module containing the tests. * @param preTests - The collection of tests from the pre-processing phase. * @param options - Parser configuration options. * @returns A {@link TestCollection} containing the final, fully processed tests. */ export declare function executePostProcessing(moduleToParse: TestModule, preTests: TestCollection, options: TestParserOptions): TestCollection; //# sourceMappingURL=executePostProcessing.d.ts.map