1 |
|
2 | import { Readable } from 'stream';
|
3 | import { messages } from 'cucumber-messages';
|
4 | import ParserMessageStream from './stream/ParserMessageStream';
|
5 | import Dialect from './Dialect';
|
6 | import IGherkinOptions from './IGherkinOptions';
|
7 | declare function fromStream(stream: Readable, options?: IGherkinOptions): ParserMessageStream;
|
8 | declare function fromPaths(paths: string[], options?: IGherkinOptions): Readable;
|
9 | declare function fromSources(envelopes: messages.IEnvelope[], options?: IGherkinOptions): Readable;
|
10 | declare function dialects(): {
|
11 | [key: string]: Dialect;
|
12 | };
|
13 | declare const _default: {
|
14 | fromPaths: typeof fromPaths;
|
15 | fromStream: typeof fromStream;
|
16 | fromSources: typeof fromSources;
|
17 | dialects: typeof dialects;
|
18 | };
|
19 | export default _default;
|