import { Some } from "@fp-ts/data/Option";
import { Option } from "@fp-ts/data/Option";
export * from "@fp-ts/data/Option";
export { Option as Opt } from "@fp-ts/data/Option";
/**
* @tsplus getter fp-ts/data/Option value
* @tsplus location "@effect-ts-app/core/Option"
*/
export declare const getOrUndefined: (self: Option) => A | undefined;
/**
* @tsplus static fp-ts/data/Option.Ops omitableToNullable
* @tsplus location "@effect-ts-app/core/Option"
*/
export declare function omitableToNullable(om: Option | undefined): import("@fp-ts/data/Option").None | import("@fp-ts/data/Option").Some;
/**
* @tsplus static fp-ts/data/Option.Ops toBool
* @tsplus location "@effect-ts-app/core/Option"
*/
export declare const toBool: (self: Option) => boolean;
/**
* @tsplus static fp-ts/data/Option.Ops fromBool
* @tsplus location "@effect-ts-app/core/Option"
*/
export declare const fromBool: (b: boolean) => import("@fp-ts/data/Option").None | import("@fp-ts/data/Option").Some;
/**
* Access property, unwrapping Options along the path
*/
export declare function p>>(k: K): (v: Option) => Option<_A>;
export declare function p(k: K): (v: Option) => Option;
export type _A = A extends Some ? Y : never;
type KeysMatching = {
[K in keyof T]: T[K] extends V ? K : never;
}[keyof T];
export declare const PartialExceptionTypeId: unique symbol;
export type PartialExceptionTypeId = typeof PartialExceptionTypeId;
export declare class PartialException {
readonly _typeId: PartialExceptionTypeId;
}
/**
* Simulates a partial function
* @tsplus static fp-ts/data/Option.Ops partial
* @tsplus location "@effect-ts-app/core/Option"
*/
export declare function partial(f: (miss: () => X) => (...args: ARGS) => A): (...args: ARGS) => Option;
//# sourceMappingURL=Option.d.ts.map