import type { Request, Response } from 'express';
import type { Services } from '../../../../../types/Services';
import { ReportType } from '../../../../../types/UserReports';
import { FilterValue } from '../../../../../components/_filters/types';
import { DashboardSection } from '../../../../../components/_dashboards/dashboard-visualisation/types';
import { components } from '../../../../../types/api';
export declare const renderSyncDashboard: ({ req, res, services, }: {
    req: Request;
    res: Response;
    services: Services;
}) => Promise<{
    dashboardData: {
        token: string;
        id: string;
        reportId: string;
        name: string;
        description: string | undefined;
        reportName: string;
        bookmarkConfig: {
            bookmarkActionEndpoint: string;
            showBookmark: boolean;
            linkText: string;
            linkType: string;
        };
        csrfToken: string;
        sections: DashboardSection[];
        filters: {
            filters: FilterValue[];
            selectedFilters: {
                text: string;
                displayValue: string;
                key: string;
                value: (string | import("../../../../../components/_filters/types").DateRange)[];
                disabled: boolean;
                constraints: {
                    key: string;
                    value: string;
                }[] | undefined;
                classes: string;
                attributes: {
                    'aria-label': string;
                };
            }[];
            hasDefaults: boolean | undefined;
            canSaveDefaults: boolean;
        };
        type: ReportType;
        actions: import("../../../../../components/_reports/report-heading/report-actions/types").ReportAction[];
    };
}>;
export declare const setActions: (definition: components["schemas"]["DashboardDefinition"], summaryDefinition: components["schemas"]["ReportDefinitionSummary"], url: string) => import("../../../../../components/_reports/report-heading/report-actions/types").ReportAction[];
declare const _default: {
    renderSyncDashboard: ({ req, res, services, }: {
        req: Request;
        res: Response;
        services: Services;
    }) => Promise<{
        dashboardData: {
            token: string;
            id: string;
            reportId: string;
            name: string;
            description: string | undefined;
            reportName: string;
            bookmarkConfig: {
                bookmarkActionEndpoint: string;
                showBookmark: boolean;
                linkText: string;
                linkType: string;
            };
            csrfToken: string;
            sections: DashboardSection[];
            filters: {
                filters: FilterValue[];
                selectedFilters: {
                    text: string;
                    displayValue: string;
                    key: string;
                    value: (string | import("../../../../../components/_filters/types").DateRange)[];
                    disabled: boolean;
                    constraints: {
                        key: string;
                        value: string;
                    }[] | undefined;
                    classes: string;
                    attributes: {
                        'aria-label': string;
                    };
                }[];
                hasDefaults: boolean | undefined;
                canSaveDefaults: boolean;
            };
            type: ReportType;
            actions: import("../../../../../components/_reports/report-heading/report-actions/types").ReportAction[];
        };
    }>;
};
export default _default;
