import { Get } from "../types/Get.js"; import { OneOrMore } from "../types/Array.js"; import { Optional } from "../types/Types.js"; import { Construct } from "../types/Constructor.js"; //#region src/utils/If.d.ts export declare function ifTrue(o: unknown, f: Construct>, alt: Construct): Out; export declare function ifTrue(o: unknown, f: Construct>, alt?: Construct): Optional; export declare function ifFalse(o: unknown, f: Construct>, alt: Construct): Out; export declare function ifFalse(o: unknown, f: Construct>, alt?: Construct): Optional; export declare function ifDefined(o: Optional, f: Construct>, alt: Construct): Out; export declare function ifDefined(o: Optional, f: Construct>, alt?: Construct): Optional; export declare function ifNotEmpty(o: In, f: Construct>, alt: Construct): Out; export declare function ifNotEmpty(o: In, f?: Construct>, alt?: Construct): Optional; export declare function ifNotEmpty(o: In, f: Construct>, alt?: Construct): Optional; export declare function ifEmpty(o: In, f: Construct>, alt: Construct): Out; export declare function ifEmpty(o: In, f?: Construct>, alt?: Construct): Optional; export declare function ifEmpty(o: In, f: Construct>, alt?: Construct): Optional; export declare function given(o: T, key: K, alt: Get): T[K]; export declare function given(o: T, key: K, alt?: Get): Optional; export declare function ifEqual(one: unknown, another: unknown, f: Construct, alt: Construct): Out; export declare function ifEqual(one: unknown, another: unknown, f: Construct, alt?: Construct): Optional; export declare function ifEither(os: OneOrMore, f: Construct>, alt: Construct): Out; export declare function ifEither(os: OneOrMore, f?: Construct>, alt?: Construct): Optional; export declare function ifEither(os: OneOrMore, f: Construct>, alt?: Construct): Optional; //#endregion //# sourceMappingURL=If.d.ts.map