import type { ElementType, HTMLAttributes, ReactNode } from 'react';
type AsChildProps = {
    readonly as?: ElementType;
    readonly asChild?: boolean;
    readonly children?: ReactNode;
    readonly className?: string;
};
export declare const renderWithAsChild: ({ as: Comp, asChild, children, className, ...props }: AsChildProps & HTMLAttributes<HTMLElement>, dataAttributes?: Record<string, string | undefined>) => import("react/jsx-runtime").JSX.Element | null;
export {};
