import { UserBoolean } from '../settings';
export declare function whenTrue(value: UserBoolean | boolean, element: JSX.Element): JSX.Element;
export declare function whenFalse(value: UserBoolean | boolean, element: JSX.Element): JSX.Element;
export declare function whenAllTrue(value: (UserBoolean | boolean)[], element: JSX.Element): JSX.Element;
export declare function whenAllFalse(value: (UserBoolean | boolean)[], element: JSX.Element): JSX.Element;
export declare function whenSomeTrue(value: (UserBoolean | boolean)[], element: JSX.Element): JSX.Element;
export declare function whenSomeFalse(value: (UserBoolean | boolean)[], element: JSX.Element): JSX.Element;
/**
 * Makes all fields optional recursively
 * @template T - The type to make recursively partial
 * @returns A type with all nested properties made optional
 */
export type RecursivePartial<T> = {
    [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object ? RecursivePartial<T[P]> : T[P];
};
