import type { ErrTypeOf, OkTypeOf, Result } from './types'; export declare const reduceObject: >, S>(resultStruct: R, reducer: (acc: S, result: OkTypeOf, key: keyof R, obj: R) => S, initial: S) => Result>; export declare const reduceObjectErr: >, S>(resultStruct: R, reducer: (acc: S, err: ErrTypeOf, key: keyof R, obj: R) => S, initial: S) => Result, S>; export declare const collectFromObject: >>(resultStruct: R) => Result<{ [K in keyof R]: OkTypeOf; }, ErrTypeOf>; export declare const collectErrFromObject: >>(resultStruct: R) => Result, { [K in keyof R]: ErrTypeOf; }>;