import { PropsWithClassName, PropsWithElementType } from '../../lib/types/props'; import { FlowComponentProps } from '../../lib/componentFactory/flowComponent'; import { LinkProps } from '../Link'; export interface FileCardProps extends FlowComponentProps, PropsWithClassName, PropsWithElementType<"div" | "li">, Pick { /** The name of the file. */ name?: string; /** The type of the file. */ type?: string; /** Handler that is called when the file cards delete button is clicked. */ onDelete?: () => void; /** The size of the file in bytes. */ sizeInBytes?: number; /** The source of an image file. */ imageSrc?: string; /** Whether the file card is in a failed state. */ isFailed?: boolean; } /** @flr-generate all */ export declare const FileCard: import('react').FunctionComponent>; export default FileCard;