import { Examples, Feature, Pickle, Rule, TableRow } from '@cucumber/messages';
import { GherkinKeyworded, GherkinNode } from '../../types.js';
export declare function getNodeType(node: GherkinKeyworded, language: string): string;
export declare function getLanguageInsensitiveKeyword(node: GherkinKeyworded, language?: string): string | undefined;
export declare function getNodeForPickle(feature: Feature, pickle: Pickle, forceExamplesLevel?: boolean): GherkinNode | Examples | TableRow | undefined;
export declare function getPicklesForNode(node: Feature | Rule, pickles: Pickle[]): Pickle[];
/**
 * Returns object with two properties, rules, containing all the Rules, and children, containing all the scenarios and
 * background (even those inside a Rule)
 * @param node
 */
export declare function featureSpread(node: Feature): {
    children: (import("@cucumber/messages").FeatureChild | import("@cucumber/messages").RuleChild)[];
    rules: Rule[];
};
//# sourceMappingURL=gherkin.d.ts.map