import vonage from './vonage'; /** * Represents an Either monad for optional properties. * * It can be also set via the helper functions {@link some} and {@link none}. */ export type Option = vonage.utils.OptionJS; export declare const Option: typeof vonage.utils.OptionJS; export declare const mapOption: (value?: T | undefined) => Option; /** * @param value The wrapped value * @returns An {@link Option.Some} */ export declare const some: (value: T) => Option; /** * * @returns An {@link Option.None} */ export declare const none: () => Option;