import React from 'react';
import { CardProps, IconElement } from '@wix/design-system';
export interface ErrorCardProps extends CardProps {
    /**
     * Title to display in the error state.
     */
    title?: string;
    /**
     * Subtitle to display in the error state.
     */
    subtitle?: string;
    /**
     * Action button to display in the error state.
     */
    action?: {
        /**
         * Action button text.
         */
        text: string;
        /**
         * Callback function to run when the action button is clicked.
         */
        onClick: () => void;
        /**
         * [Icon](https://www.docs.wixdesignsystem.com/?path=/story/foundations-icons--icons) to display on the action button before the text.
         */
        prefixIcon?: IconElement;
    };
}
export declare function ErrorCard({ children, title, subtitle, action, ...rest }: ErrorCardProps & {
    children?: React.ReactNode;
}): React.JSX.Element;
//# sourceMappingURL=ErrorCard.d.ts.map