import type { CommandProps, RawCommands } from '../types.js';
declare module '../index' {
    interface Commands<ReturnType> {
        forEach: {
            /**
             * Loop through an array of items.
             */
            forEach: <T>(items: T[], fn: (item: T, props: CommandProps & {
                index: number;
            }) => boolean) => ReturnType;
        };
    }
}
export declare const forEach: RawCommands['forEach'];
//# sourceMappingURL=for-each.d.ts.map