import type * as T from '@traversable/registry'; import type { IR } from './shared.js'; export type Index = { siblingCount: number; offset: number; dataPath: (string | number)[]; isOptional: boolean; isRoot: boolean; schemaPath: (keyof any)[]; varName: string; }; export interface Free extends T.HKT { [-1]: IR; } export type Algebra = T.IndexedAlgebra; export declare const defaultIndex: Index; export declare const Functor: T.Functor.Ix; export declare const fold: (algebra: Algebra) => (x: IR) => T; //# sourceMappingURL=functor.d.ts.map