import type { TSESTree } from '@typescript-eslint/utils';
/**
 * Yields all statement nodes in a block, including nested blocks.
 *
 * You can use it to find all return statements in a function body.
 */
export declare function walkStatements(body: readonly TSESTree.Statement[]): Generator<TSESTree.Statement>;
