/// <reference types="react" />
import { type FileErrorProps } from '../FileError';
export type UseLogicParams = FileErrorProps;
export declare const useLogic: ({ fileId, file, isUploadError, onDelete, onRetry, }: UseLogicParams) => {
    isVisibleRetryButton: boolean;
    RenderImage: import("@emotion/styled").StyledComponent<{
        theme?: import("@emotion/react").Theme | undefined;
        as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
    }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}> | import("@emotion/styled").StyledComponent<{
        theme?: import("@emotion/react").Theme | undefined;
        as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
    } & Pick<import("react").AllHTMLAttributes<HTMLImageElement>, "className" | "height" | "width" | "alt" | "src"> & {
        size?: import("../../../..").PlaceholderSize | undefined;
    }, {}, {}>;
    imageProps: {
        src: string | undefined;
    };
    deleteButtonProps: {
        onClick: () => void;
    };
    retryButtonProps: {
        onClick: () => void | undefined;
    };
};
