import { Kind } from '@fp4ts/core'; import { Applicative } from './applicative'; import { FoldableWithIndex } from './foldable-with-index'; import { FunctorWithIndex } from './functor-with-index'; import { Traversable } from './traversable'; import { ArrayF } from './instances/array'; /** * @category Type Class */ export interface TraversableWithIndex extends Traversable, FoldableWithIndex, FunctorWithIndex { traverseWithIndex(G: Applicative): (f: (a: A, i: I) => Kind) => (fa: Kind) => Kind]>; traverseWithIndex_(G: Applicative): (fa: Kind, f: (a: A, i: I) => Kind) => Kind]>; } export type TraversableWithIndexRequirements = Pick, 'traverseWithIndex_'> & Partial>; export declare const TraversableWithIndex: Readonly<{ of: (F: TraversableWithIndexRequirements) => TraversableWithIndex; readonly Array: TraversableWithIndex; }>; //# sourceMappingURL=traversable-with-index.d.ts.map