import type { Request } from 'express';
import { AcitveReportSessionData } from '../types/ActiveReportSession';
/**
 * Gets the field value for a specific session key
 *
 * @export
 * @param {Request} req
 * @param {string} sessionKey
 * @param {string} field
 * @return {*}
 */
export declare function getSessionValue(req: Request, sessionKey: string, field: string): unknown;
interface ActiveJourneyKey {
    id: string;
    reportId: string;
    type?: string;
    executionId?: string;
    tableId?: string;
}
export declare function getActiveJourneyValue<F extends keyof AcitveReportSessionData>(req: Request, keyParts: ActiveJourneyKey, // { reportId, id, tableId?, executionId? }
field: F): AcitveReportSessionData[F] | undefined;
/**
 * Builds the active journey key
 *
 * @export
 * @param {ActiveJourneyKey} { reportId, id, type, executionId, tableId }
 * @return {*}  {string}
 */
export declare function buildJourneyKey({ reportId, id, executionId, tableId }: ActiveJourneyKey): string;
export {};
