/**
 * Adds a branch to a function, which checks for the argument to be null, in which case it returns early.
 * @internal
 */
export declare function nullPassthrough<T, R extends any[], F extends (value: unknown, ...rest: R) => unknown>(this: T, fn: F, enabled: boolean): F;
