import { type ReactNode } from 'react'; import { type ResponsiveSlot } from '../../types/responsive'; /** * Generic type guard function to check if a value is a ResponsiveSlot-like object. * This function checks for the structural pattern of having 'base' and optionally 'narrowViewport' properties, * making it compatible with both ResponsiveSlot and other similar responsive slot types. * * @param value - The value to check * * @returns true if the value has the ResponsiveSlot structure, false otherwise */ export declare const isResponsiveSlot: (value: TSlot | ReactNode | ((...args: any[]) => ReactNode)) => value is TSlot;