import { SortByEnum } from '../parser/models/testCollection.js'; import { TestParserFlags } from './testParserFlags.js'; /** * A function to look up context for a given test group. * @param groupName - The name of the test group. * @returns The context object for the group, or undefined if not found. */ export type ContextLookUp = (groupName: string) => any | undefined; /** * Configuration options for the test parser. */ export declare class TestParserOptions { /** * Names of functions to be treated as built-in hooks (e.g., 'beforeEach'). */ builtInFunctions: string[]; /** * The name of the property on a class instance that contains the suite context. */ classContextPropertyName?: string; /** * A function to look up context for a given test group. */ testContextLookup: ContextLookUp; /** * A template function to generate titles for parameterized test cases. */ testCaseTitleTemplate: (title: string, testCases: any[], caseIndex: number) => string; /** * Flags to enable or disable specific parser behaviors. */ parserFlags?: TestParserFlags; /** * The sorting method to apply to the extracted tests. */ sort: SortByEnum; /** * Initializes a new TestParserOptions instance. * @param options - Partial configuration to override defaults. */ constructor(options: Partial); } //# sourceMappingURL=testParserOptions.d.ts.map