import { type ComponentPropsWithoutRef, type ElementType, type ReactElement, type ReactNode, type Ref, useLayoutEffect } from 'react'; export declare const getChildTag: (parentTag?: ElementType) => "div" | "li"; export declare function identityType(): (u: U) => U; export declare const devWarning: (condition: boolean, message: string) => void; type ElementTagNameMap = HTMLElementTagNameMap & Pick>; type AsProp = { as?: Comp; ref?: Ref any ? InstanceType : undefined>; } & Omit, 'as' | keyof Props>; type CompWithAsProp = (props: AsProp & Props) => ReactElement; export declare const forwardRefWithAs: (render: (props: BaseProps & { as?: ElementType; }, ref: React.Ref) => Exclude) => CompWithAsProp; export declare function makeId(...args: (string | number | null | undefined)[]): string; export declare const mapResponsiveProp: , Keys extends keyof Map>(value: Keys | readonly (Keys | null)[], valueMap: Map) => any; export declare const useId: (idFromProps?: string | null) => string | undefined; export declare const useSafeLayoutEffect: typeof useLayoutEffect; type Props = { children: ReactElement; }; export declare const Portal: ({ children }: Props) => React.ReactPortal | null; export {}; //# sourceMappingURL=utils.d.ts.map