import { type CSSProperties, type ReactNode } from "react";
export interface LoadingAndErrorWrapperProps {
    loading?: boolean;
    error?: any;
    noBackground?: boolean;
    noWrapper?: boolean;
    showSpinner?: boolean;
    getLoadingMessages?: () => string[];
    messageInterval?: number;
    renderError?: (message?: string) => ReactNode;
    style?: CSSProperties;
    className?: string;
    "data-testid"?: string;
    children?: ReactNode | (() => ReactNode);
}
export declare const LoadingAndErrorWrapper: import("react").ForwardRefExoticComponent<LoadingAndErrorWrapperProps & import("react").RefAttributes<HTMLDivElement>>;
