/** * Load features. * * See: https://github.com/cucumber/cucumber-js/blob/main/src/api/load_sources.ts * See: https://github.com/cucumber/cucumber-js/blob/main/src/api/gherkin.ts */ import { Query as GherkinQuery } from '@cucumber/gherkin-utils'; import { ParseError } from '@cucumber/messages'; import { GherkinDocumentWithPickles } from './types'; export declare function resolveFeatureFiles(cwd: string, patterns: string | string[]): Promise<{ files: string[]; finalPatterns: string[]; }>; type LoadFeaturesOptions = { defaultDialect?: string; relativeTo?: string; }; export declare class FeaturesLoader { gherkinQuery: GherkinQuery; parseErrors: ParseError[]; load(absFeatureFiles: string[], options: LoadFeaturesOptions): Promise; getDocumentsCount(): number; getDocumentsWithPickles(): GherkinDocumentWithPickles[]; private loadFeature; private getDocumentPickles; private getPickleWithLocation; } export {}; //# sourceMappingURL=featuresLoader.d.ts.map