import { ButtonProps, IconButtonProps } from "@chakra-ui/react"; type DownloadButtonProps = (IsIconButton extends true ? IconButtonProps : ButtonProps) & { valueToDownload?: (() => string) | (() => AsyncIterable) | string | null; fileName: string; text?: IsIconButton extends true ? string : never; isIconButton?: IsIconButton; }; export declare const DownloadButton: ({ valueToDownload, text, fileName, isIconButton, ...buttonProps }: DownloadButtonProps) => import("react/jsx-runtime").JSX.Element | null; export {};