import { ComponentPropsWithoutRef, Ref } from 'react';
import { FileUploadFileError, RejectedFile as RejectedFileType } from './FileUpload';
export interface FileUploadRejectedFileProps extends ComponentPropsWithoutRef<'li'> {
    ref?: Ref<HTMLLIElement>;
    /**
     * The rejected file to display
     */
    rejectedFile: RejectedFileType;
    /**
     * Function to render the error message for each error code
     * @param error - The error code
     * @returns The error message to display
     */
    renderError: (error: FileUploadFileError) => string;
    /**
     * Accessible label for the delete button
     */
    deleteButtonAriaLabel: string;
    className?: string;
}
export declare const RejectedFile: {
    ({ className, rejectedFile, renderError, deleteButtonAriaLabel, ...props }: FileUploadRejectedFileProps): import("react/jsx-runtime").JSX.Element;
    displayName: string;
};
