diff --git a/lib/commons/optional.d.ts b/lib/commons/optional.d.ts new file mode 100644 index 0000000..8069f71 --- /dev/null +++ b/lib/commons/optional.d.ts @@ -0,0 +1,2090 @@ +/** + * Optional monad for Javascript | Typescript. + */ +export declare const Optional: { + /** + * Creates an optional of the specified value. The value may be undefined or null. + * @return OptionalInstance + */ + of(value: T): { + get(): T; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: T) => void, notPresentFunction?: () => void): void; + ifPresent(func: (val: NonNullable) => R): void; + isPresent(): boolean; + filter(filterFunction: (value: T) => boolean): any | { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + }; + map(mapperFunction: (value: NonNullable) => R_31): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | { + get(): R_31; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_31) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_32): void; + isPresent(): boolean; + filter(filterFunction: (value: R_31) => boolean): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | any; + map(mapperFunction: (value: NonNullable) => R_33): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | { + get(): R_33; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_33) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_34): void; + isPresent(): boolean; + filter(filterFunction: (value: R_33) => boolean): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | any; + map(mapperFunction: (value: NonNullable) => R_35): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | { + get(): R_35; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_35) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_36): void; + isPresent(): boolean; + filter(filterFunction: (value: R_35) => boolean): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | any; + map(mapperFunction: (value: NonNullable) => R_37): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | { + get(): R_37; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_37) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_38): void; + isPresent(): boolean; + filter(filterFunction: (value: R_37) => boolean): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | any; + map(mapperFunction: (value: NonNullable) => R_39): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | { + get(): R_39; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_39) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_40): void; + isPresent(): boolean; + filter(filterFunction: (value: R_39) => boolean): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | any; + map(mapperFunction: (value: NonNullable) => R_41): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | { + get(): R_41; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_41) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_42): void; + isPresent(): boolean; + filter(filterFunction: (value: R_41) => boolean): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | any; + map(mapperFunction: (value: NonNullable) => R_43): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | { + get(): R_43; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_43) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_44): void; + isPresent(): boolean; + filter(filterFunction: (value: R_43) => boolean): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | any; + map(mapperFunction: (value: NonNullable) => R_45): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | { + get(): R_45; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_45) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_46): void; + isPresent(): boolean; + filter(filterFunction: (value: R_45) => boolean): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | any; + map(mapperFunction: (value: NonNullable) => R_47): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | { + get(): R_47; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_47) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_48): void; + isPresent(): boolean; + filter(filterFunction: (value: R_47) => boolean): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | any; + map(mapperFunction: (value: NonNullable) => R_49): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | { + get(): R_49; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_49) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_50): void; + isPresent(): boolean; + filter(filterFunction: (value: R_49) => boolean): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | any; + map(mapperFunction: (value: NonNullable) => R_51): { + get(): undefined; + orElse(elseValue: never): never; + then(presentFunction: (value: undefined) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: never) => R_1): void; + isPresent(): boolean; + filter(filterFunction: (value: undefined) => boolean): any; + map(mapperFunction: (value: never) => R_2): any | { + get(): R_2; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_2) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_3): void; + isPresent(): boolean; + filter(filterFunction: (value: R_2) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_4): any | { + get(): R_4; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_4) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_5): void; + isPresent(): boolean; + filter(filterFunction: (value: R_4) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_6): any | { + get(): R_6; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_6) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_7): void; + isPresent(): boolean; + filter(filterFunction: (value: R_6) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_8): any | { + get(): R_8; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_8) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_9): void; + isPresent(): boolean; + filter(filterFunction: (value: R_8) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_10): any | { + get(): R_10; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_10) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_11): void; + isPresent(): boolean; + filter(filterFunction: (value: R_10) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_12): any | { + get(): R_12; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_12) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_13): void; + isPresent(): boolean; + filter(filterFunction: (value: R_12) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_14): any | { + get(): R_14; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_14) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_15): void; + isPresent(): boolean; + filter(filterFunction: (value: R_14) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_16): any | { + get(): R_16; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_16) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_17): void; + isPresent(): boolean; + filter(filterFunction: (value: R_16) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_18): any | { + get(): R_18; + orElse(elseValue: NonNullable): NonNullable; + then(presentFunction: (value: R_18) => void, notPresentFunction?: (() => void) | undefined): void; + ifPresent(func: (val: NonNullable) => R_19): void; + isPresent(): boolean; + filter(filterFunction: (value: R_18) => boolean): any | any; + map(mapperFunction: (value: NonNullable) => R_20): any | any; + flatMap(mapperFunction: (value: R_18) => R_21): R_21; + }; + flatMap(mapperFunction: (value: R_16) => R_22): R_22; + }; + flatMap(mapperFunction: (value: R_14) => R_23): R_23; + }; + flatMap(mapperFunction: (value: R_12) => R_24): R_24; + }; + flatMap(mapperFunction: (value: R_10) => R_25): R_25; + }; + flatMap(mapperFunction: (value: R_8) => R_26): R_26; + }; + flatMap(mapperFunction: (value: R_6) => R_27): R_27; + }; + flatMap(mapperFunction: (value: R_4) => R_28): R_28; + }; + flatMap(mapperFunction: (value: R_2) => R_29): R_29; + }; + flatMap(mapperFunction: (value: undefined) => R_30): R_30; + } | any; + flatMap(mapperFunction: (value: R_49) => R_52): R_52; + }; + flatMap(mapperFunction: (value: R_47) => R_53): R_53; + }; + flatMap(mapperFunction: (value: R_45) => R_54): R_54; + }; + flatMap(mapperFunction: (value: R_43) => R_55): R_55; + }; + flatMap(mapperFunction: (value: R_41) => R_56): R_56; + }; + flatMap(mapperFunction: (value: R_39) => R_57): R_57; + }; + flatMap(mapperFunction: (value: R_37) => R_58): R_58; + }; + flatMap(mapperFunction: (value: R_35) => R_59): R_59; + }; + flatMap(mapperFunction: (value: R_33) => R_60): R_60; + }; + flatMap(mapperFunction: (value: R_31) => R_61): R_61; + }; + flatMap(mapperFunction: (value: T) => R_62): R_62; + }; +}; +export default Optional;