import { Response, Request } from 'express';
import { DownloadActionParams } from '../../../components/_reports/report-heading/report-actions/types';
import { Services } from '../../../types/Services';
/**
 * Downloads the report
 *
 * @param {{
 *   req: Request
 *   services: Services
 *   res: Response
 *   redirect: string
 * }} {
 *   req,
 *   services,
 *   res,
 *   redirect,
 * }
 */
export declare const downloadReport: ({ req, services, res }: {
    req: Request;
    services: Services;
    res: Response;
}) => Promise<void>;
/**
 * Initialises the download config in the UI
 *
 * @param {Response} res
 * @param {Request} req
 * @param {ExtractedDefinitionData} definitionData
 * @param {LoadType} loadType
 * @param {ExtractedRequestData} [requestData]
 * @return {*}  {(DownloadActionParams | undefined)}
 */
export declare const setUpDownload: (res: Response, req: Request) => DownloadActionParams | undefined;
declare const _default: {
    downloadReport: ({ req, services, res }: {
        req: Request;
        services: Services;
        res: Response;
    }) => Promise<void>;
    setUpDownload: (res: Response, req: Request) => DownloadActionParams | undefined;
};
export default _default;
