import { AnyParameters, AsyncMonad, AsyncTap, Container, Mapper, MaybePromiseLike, Pipe, Zip } from './types'; declare const name = "Identity"; declare class Identity implements AsyncMonad, Container, AsyncTap, Pipe, Zip { readonly value: T; static from(value: T): Identity; get [Symbol.toStringTag](): typeof name; get name(): typeof name; private constructor(); map(map: Mapper, ...parameters: P): Identity; asyncMap(map: Mapper, P>, ...parameters: P): Promise>; pure(value: T): Identity; apply(this: Identity>, argument: Identity, ...parameters: P): Identity; apply(this: Identity, map: Identity>, ...parameters: P): Identity; asyncApply(this: Identity, P>>, argument: Identity, ...parameters: P): Promise>; asyncApply(this: Identity, map: Identity, P>>, ...parameters: P): Promise>; chain(map: Mapper, P>, ...parameters: P): Identity; asyncChain(map: Mapper>, P>, ...parameters: P): Promise>; await(this: Identity>): Promise>; join(this: Identity>): Identity; tap

(callback: Mapper, ...parameters: P): Identity; asyncTap

(callback: Mapper, P>, ...parameters: P): Promise>; pipe(pipe: Mapper, A, P>, ...parameters: P): A; unwrapOrElse(fallback: () => X): X | T; unwrapOr(value: X): X | T; unwrap(): T; zip(either: Identity): Identity<[T, A]>; fold(mapper: Mapper): A; getValue(): T; } export { type Identity }; export declare const from: typeof Identity.from; export declare const isIdentity: (value: unknown | Identity) => value is Identity; export declare function chain(map: (value: A, ...parameters: P) => MaybePromiseLike>, ...parameters: P): (either: Identity) => Promise>; export declare function merge(values: [Identity]): Identity<[V1]>; export declare function merge(values: [Identity, Identity]): Identity<[V1, V2]>; export declare function merge(values: [Identity, Identity, Identity]): Identity<[V1, V2, V3]>; export declare function merge(values: [Identity, Identity, Identity, Identity]): Identity<[V1, V2, V3, V4]>; export declare function merge(values: [Identity, Identity, Identity, Identity, Identity]): Identity<[V1, V2, V3, V4, V5]>; export declare function merge(values: [ Identity, Identity, Identity, Identity, Identity, Identity ]): Identity<[V1, V2, V3, V4, V5, V6]>; export declare function merge(values: Identity[]): Identity;