import React from 'react'; import type { DataZoneLoadingState } from './types'; export interface MatchSlotOptions { allowUndefined: boolean; } /** * For use in data zones, to display different components depending on the loading * state of the data. * * Returns components that have an empty slot, or that match the provided * * @param children Child components to filter * @param slotType some string for the slot to find * @param options the options for how to match slots * @return Children with either the provided slot, or an empty slot */ export declare const getChildrenWithSlot: (children: React.ReactNode, slotType: string | undefined, options?: MatchSlotOptions) => Array; export declare const getChildrenWithLoadingState: (children: React.ReactNode, slotType: DataZoneLoadingState) => Array;