import { PrototypeStruct } from '..';
declare type FoldPredicate<T> = (previousValue: T, currentValue: T, index: number) => T;
export declare type FoldFn<T> = (initialValue: any, predicate: FoldPredicate<T>) => T;
export declare const fold: PrototypeStruct;
declare global {
    interface Array<T> {
        fold: FoldFn<T>;
    }
}
export {};
//# sourceMappingURL=fold.d.ts.map