import { ReactElement } from 'react'; import { Facet } from '../types'; type WithProps = { data: Facet; children: (data: Facet) => ReactElement | null; }; /** * Conditionally renders a child if a given facet value is not null or undefined * * @param data facet value which can be null or undefined * @param children render prop which receives the transformed facet */ export declare const With: ({ data, children }: WithProps) => ReactElement> | null; export {};