// ets_tracing: off import type { Identity } from "../../Identity/index.js" import type * as HKT from "../HKT/index.js" export interface FoldMapWithIndex extends HKT.Base { readonly _FoldMapWithIndex: "FoldMapWithIndex" readonly foldMapWithIndex: FoldMapWithIndexFn } export interface FoldMapWithIndexFn { (I: Identity): ( f: (k: HKT.IndexFor>, a: A) => M ) => (fa: HKT.Kind) => M }