/** * A value that is either of type T or is `void`. * * The use of `void` is discouraged, * but some 3rd-party packages, like AWS SDK, may use it. * * @since v0.9.0 */ export type Voidable = T | void; /** * Casts a given {@linkcode Voidable} value into an optional nullable type. * * Use this function only if you have a 3rd-party package that returns `void`. * * @since v0.2.3 */ export declare function voidable(value: Voidable): T | null | undefined;