import { CustomModalLayoutProps } from '@wix/design-system';
import { ExportState, FiltersMap } from '@wix/bex-core';
import { ReactElement } from 'react';
import { ApplicationError } from '@wix/bex-utils/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/types';
export type RenderModalError = (data: ApplicationError['data']) => undefined | Partial<CustomModalLayoutProps & {
    children?: ReactElement;
}>;
export declare function getExportModalErrorProps<T, F extends FiltersMap>({ renderError, state, }: {
    state: ExportState<T, F>;
    renderError?: RenderModalError;
}): Partial<CustomModalLayoutProps & {
    children?: ReactElement;
}>;
//# sourceMappingURL=getExportModalErrorProps.d.ts.map