import { type AsChildChildren } from '@wix/headless-utils/react'; import React from 'react'; /** * Props for the ScheduleItemTag Root component. */ export interface RootProps { /** Tag */ tag: string; /** Whether to render as a child component */ asChild?: boolean; /** Child components that will have access to the tag */ children: React.ReactNode; /** CSS classes to apply to the default element */ className?: string; } /** * Root container that provides schedule item tag context to all child components. * Must be used as the top-level ScheduleItemTag component. * * @order 1 * @component * @example * ```tsx * import { ScheduleItemTag } from '@wix/events/components'; * * function ScheduleItemTagComponent({ tag }) { * return ( * * * * ); * } * ``` */ export declare const Root: React.ForwardRefExoticComponent>; /** * Props for the ScheduleItemTag Label component. */ export interface LabelProps { /** Whether to render as a child component */ asChild?: boolean; /** Custom render function when using asChild */ children?: AsChildChildren<{ /** Tag label */ label: string; }>; /** CSS classes to apply to the default element */ className?: string; } /** * Displays the schedule item tag label. * * @component * @example * ```tsx * // Default usage * * * // asChild with primitive * * * * * // asChild with react component * * {React.forwardRef(({ label, ...props }, ref) => ( * * {label} * * ))} * * ``` */ export declare const Label: React.ForwardRefExoticComponent>;