import { FC } from "react"; import { LabelConfiguration } from "../types"; /** * Creates a label-routing component that delegates to `WithLabel` or `WithoutLabel` * based on whether the `label` prop is provided. * * @param WithoutLabel - Component to render when `label` is absent * @param WithLabel - Component to render when `label` is present * @returns A single `FC` that routes to the appropriate sub-component */ export declare const createLabelRouter: (WithoutLabel: FC, WithLabel: FC) => FC; //# sourceMappingURL=labelRouter.d.ts.map