/// <reference types="react" />
interface IDownloadData {
    [k: number | string | symbol]: boolean | number | string;
}
export declare type DownloadDataProps = {
    css?: string;
    /**
     * array of data objects, e.g. [{a:1,b:2},{a:3,b:4}]
     */
    data: IDownloadData[];
    /**
   * automatically adds extension when it is not supplied
   */
    filename?: string;
    filetype?: 'xlsx' | 'csv';
};
export declare const DownloadData: ({ data, filename, filetype, css }: DownloadDataProps) => JSX.Element;
export {};
