import type { Response, Request } from 'express';
import { StoredReportData } from '../types/UserReports';
import { BookmarkStoreData } from '../types/Bookmark';
export declare const getValues: (res: Response) => {
    csrfToken: string;
    definitions: {
        id: string;
        name: string;
        description?: string | null;
        variants: import("../..").components["schemas"]["VariantDefinitionSummary"][];
        dashboards?: import("../..").components["schemas"]["DashboardDefinitionSummary"][] | null;
        authorised: boolean;
    }[];
    bookmarkingEnabled: boolean;
    downloadingEnabled: boolean;
    definitionsPath: string;
    dpdPathFromQuery: boolean;
    dpdPathFromConfig: boolean;
    pathSuffix: any;
    requestedReports: StoredReportData[];
    recentlyViewedReports: StoredReportData[];
    bookmarks: BookmarkStoreData[];
    token: string;
    dprUser: {
        id: string;
        token: string;
        activeCaseLoadId: string | undefined;
        staffId: number | undefined;
        email: string;
        displayName: string;
    };
};
export declare const setDdpPathToReqQuery: (req: Request, value: string) => import("qs").ParsedQs;
export interface DprAppLocals {
    nestedBaseUrl?: string | undefined;
    bookmarkActionEndpoint: string;
    downloadActionEndpoint: string;
    productCollectionEndpoint: string;
    bookmarkListPath: string;
    requestedListPath: string;
    recentlyViewedListPath: string;
    reportsCatalogue: string;
    userReportsList: string;
    dprHomepage: string;
    /** internal: stores the unmodified raw paths */
    original?: Omit<DprAppLocals, 'original' | 'nestedBaseUrl'>;
}
export declare const getRouteLocals: (res: Response) => DprAppLocals;
declare const _default: {
    getValues: (res: Response) => {
        csrfToken: string;
        definitions: {
            id: string;
            name: string;
            description?: string | null;
            variants: import("../..").components["schemas"]["VariantDefinitionSummary"][];
            dashboards?: import("../..").components["schemas"]["DashboardDefinitionSummary"][] | null;
            authorised: boolean;
        }[];
        bookmarkingEnabled: boolean;
        downloadingEnabled: boolean;
        definitionsPath: string;
        dpdPathFromQuery: boolean;
        dpdPathFromConfig: boolean;
        pathSuffix: any;
        requestedReports: StoredReportData[];
        recentlyViewedReports: StoredReportData[];
        bookmarks: BookmarkStoreData[];
        token: string;
        dprUser: {
            id: string;
            token: string;
            activeCaseLoadId: string | undefined;
            staffId: number | undefined;
            email: string;
            displayName: string;
        };
    };
    getRouteLocals: (res: Response) => DprAppLocals;
    setDdpPathToReqQuery: (req: Request, value: string) => import("qs").ParsedQs;
};
export default _default;
