import React from 'react'; /** * Function signature for render function pattern */ export type AsChildRenderFunction = (props: TProps, ref: React.Ref) => React.ReactNode; /** * Object with render method pattern */ export type AsChildRenderObject = { render: AsChildRenderFunction; }; /** * Union type for all supported asChild patterns */ export type AsChildChildren = React.ReactElement | AsChildRenderFunction | AsChildRenderObject; export interface AsChildSlot { /** Whether to render as a child component */ asChild?: boolean; /** Custom render function when using asChild */ children?: React.ReactNode; /** Custom render function when using asChild */ customElement?: React.ReactNode | React.ForwardRefRenderFunction; customElementProps?: any; /** CSS classes to apply to the default element */ className?: string; content?: React.ReactNode | string; /** Data component tag to pass to the first child */ 'data-component-tag'?: string; [key: string]: any; } export declare const AsChildSlot: React.ForwardRefExoticComponent & React.RefAttributes>;