import { HIterator } from './iterator'; import { HAsyncIterator } from './async-iterator'; import { Parameters } from './types'; export declare function wrap(func: (...args: Parameters) => R): (this: any, ...args: any) => HIterator; export declare function awrap(func: (...args: Parameters) => R): (this: any, ...args: any) => HAsyncIterator;