import { Show } from '../typeclasses/Show'; import { Functor } from '../typeclasses/Functor'; import { Chain } from '../typeclasses/Chain'; import { Apply } from '../typeclasses/Apply'; import { Monad } from '../typeclasses/Monad'; import { Applicative } from '../typeclasses/Applicative'; import { Setoid } from '../typeclasses/Setoid'; import { Ord } from '../typeclasses/Ord'; import { Semigroup } from '../typeclasses/Semigroup'; export interface Id extends Id_ { } export interface IId { (value: T): Id; of: typeof Id_.of; } export declare class Id_ implements Show, Functor, Chain, Apply, Applicative, Monad, Setoid>, Ord>, Semigroup> { private readonly value; constructor(value: T); of: typeof Id_.of; readonly 'fantasy-land/map': (f: (value: T) => U) => Id; readonly 'fantasy-land/chain': (f: (value: T) => Id) => Id; readonly 'fantasy-land/ap': (f: Id<(value: T) => U>) => Id; readonly 'fantasy-land/of': typeof Id_.of; readonly 'fantasy-land/equals': (other: Id) => boolean; readonly 'fantasy-land/lte': (other: Id) => boolean; readonly 'fantasy-land/concat': (other: Id) => Id; static of(value: T): Id; extract(): T; toJSON(): T; inspect(): string; toString(): string; map(f: (value: T) => U): Id; chain(f: (value: T) => Id): Id; ap(f: Id<(value: T) => U>): Id; equals(other: Id): boolean; lte(other: Id): boolean; concat(other: Id): Id; } export declare const Id: IId;