import type { GherkinDocument } from '@cucumber/messages'; import type { GherkinDocumentHandlers } from './GherkinDocumentHandlers.js'; /** * Walks a Gherkin Document, visiting each node depth first (in the order they appear in the source) * * @param gherkinDocument * @param initialValue the initial value of the traversal * @param handlers handlers for each node type, which may return a new value * @return result the final value */ export declare function walkGherkinDocument(gherkinDocument: GherkinDocument, initialValue: Acc, handlers: Partial>): Acc;