import * as E from 'fp-ts/lib/Either'; import { Codec } from './Codec'; /** * Codec that removes the _tag property from the top level of the object. * We use this to expose RequestFailed on APIs as the _tag property is an implementation detail. * Note that _tag in nested objects will not be removed. This is necessary to preserve union types. */ export declare class RemoveTopLevelTagCodec implements Codec { static instance: Codec; encode(value: unknown): unknown; decode(value: unknown): E.Either; private isObject; private removeTopLevelTagIfPresent; private removeNullFromObjectIfPresent; } //# sourceMappingURL=RemoveTopLevelTagCodec.d.ts.map