import type { ElementType } from "react";
/**
 * `displayName` or `name` from a component type. For intrinsic string tags (e.g. `"div"`),
 * returns `undefined` — those do not carry a component name.
 */
export declare function getElementTypeDisplayName(Component: ElementType): string | undefined;
export declare function upperFirst(str: string): string;
/** displayName for slot-recipe parts, e.g. `Accordion` + `root` → `AccordionRoot`. */
export declare function inferSlotRecipeComponentDisplayName(contextName: string, slot: string): string;
/** displayName for `withRootProvider` wrappers, e.g. `Dialog` + `Root` → `DialogRoot`. */
export declare function inferRootProviderDisplayName(contextName: string, innerDisplayNameOrName: string | undefined): string | undefined;
