/** * A function that returns a boolean. */ export type BooleanReturnFunction = (...args: any[]) => boolean; /** * Inverts the output of an arbitrary boolean-returning function. * * @param decisionFn - The function whose boolean return value to invert * @param invert - Whether to apply the inversion (defaults to true) * @returns The inverted function, or the original if invert is false */ export declare function invertBooleanReturnFunction(decisionFn: F, invert?: boolean): F;