import { Component, Slot, VNode } from 'vue'; import { toArray } from '../../../shared/utils/arrayUtils'; declare const _default: { /** * @deprecated Use `toArray` from _arrayUtils_ instead. */ asArray: typeof toArray; hasSlotContent: typeof hasSlotContent; isSlotEmpty: typeof isSlotEmpty; isVNodeEmpty: typeof isVNodeEmpty; hasSlotComponent: typeof hasSlotComponent; getSlotChildCount: typeof getSlotChildCount; }; export default _default; /** * Checks if a slot has content * @param slot - The slot to check. * @param props - Additional props to consider. * @returns A boolean indicating whether the slot has content. */ export declare function hasSlotContent(slot: Slot | undefined | null | void, props?: any): boolean; /** * Checks if a slot does not have content. * @param slot - The slot to check. * @param props - Additional props to consider. * @returns A boolean indicating whether the slot has content. */ export declare function isSlotEmpty(slot: Slot | undefined | null | void, props?: any): boolean; /** * Checks if a VNode or an array of VNodes is empty. * @param vnode - The VNode or array of VNodes to check. * @returns `true` if the VNode or array of VNodes is empty, `false` otherwise. */ export declare function isVNodeEmpty(vnode: VNode | VNode[] | undefined | null): boolean; /** * Checks if a slot contains a specific component. * @param slot - The slot to check. * @param component - The component to look for. * @param props - Additional props to consider when rendering the slot. * @returns A boolean indicating whether the slot contains the specified component. */ export declare function hasSlotComponent(slot: Slot | undefined | null, component: Component, props?: any): boolean; /** * Counts the number of direct children in a slot. * @param slot - The slot to check. * @param props - Additional props to consider when rendering the slot. * @returns The number of direct children in the slot, excluding comments and empty text nodes. */ export declare function getSlotChildCount(slot: Slot | undefined | null, props?: any): number;