import React from "react"; export interface DownloadButtonProps extends React.CSSProperties { text: string; onClick: (key: any) => void; fixed?: "open" | "closed"; iconSize?: number; textStyle?: React.CSSProperties; buttonWidth?: number; icon?: React.ReactNode; color: string; isLoading?: boolean; disabled?: boolean; } export interface BackgroundProps { [type: string]: string; } declare const DownloadButton: { ({ onClick, text, fixed, iconSize, textStyle, buttonWidth, icon, isLoading, disabled, color, ...rest }: DownloadButtonProps): JSX.Element; defaultProps: { text: string; onClick: () => void; fixed: undefined; iconSize: number; textStyle: {}; buttonWidth: number; icon: JSX.Element; color: string; isLoading: boolean; disabled: boolean; }; }; export default DownloadButton;