import { type JSX } from "react"; export interface ShowProps { /** * If `true`, it'll render the `children` prop */ when: T | null | undefined; /** * The fallback content to render if `when` is `false` */ fallback?: React.ReactNode; /** * The children to render if `when` is `true` */ children: React.ReactNode | ((props: T) => React.ReactNode); } export declare function Show(props: ShowProps): JSX.Element;