import React, { PropsWithChildren } from 'react';
interface Loading {
    empty?: boolean;
    loading?: boolean | {
        renderAs?: () => React.ReactNode;
    };
    emptyState?: PropsWithChildren<{
        label?: string;
    }>;
}
export declare function LoadingProvider({ children, empty, loading, emptyState, }: PropsWithChildren<Loading>): JSX.Element;
export declare function useLoadingContext(): Loading;
export {};
