/** Code in this file was copied from io-ts-types/src/option.ts */ import * as t from 'io-ts'; import { Option } from 'fp-ts/lib/Option'; /** * Given a codec representing a type `A`, returns a codec representing `Option` that is able to deserialize * the JSON representation of an `Option`. */ export type OptionC = t.Type>, Option>, unknown>; export declare function option(codec: C, name?: string): OptionC;