import type { Envelope, IdGenerator, ParseError } from '@cucumber/messages'; import type { IFilterablePickle } from '../filter'; import type { ISourcesCoordinates } from './types'; export declare function getPicklesAndErrors({ newId, cwd, sourcePaths, coordinates, onEnvelope, }: { newId: IdGenerator.NewId; cwd: string; sourcePaths: string[]; coordinates: ISourcesCoordinates; onEnvelope?: (envelope: Envelope) => void; }): Promise<{ filterablePickles: readonly IFilterablePickle[]; parseErrors: ParseError[]; }>;