import { ActionVersion } from './actions/actionVersion.js'; import { MimeType } from './file.js'; import { PlatformType } from './generated/platformType.js'; import { ActionSession, SessionType } from './session/index.js'; export declare enum IdentifierPrefix { EResident = "e-resident", EResidentApplicant = "e-resident-applicant", IdentDoc = "identdoc." } export type GenericObject = Record; export interface AlsData { logData?: LogData; headers?: ActHeaders; session?: ActionSession; } export declare const ConnectionModes: { readonly DirectToCell: "direct-to-cell"; }; export type ConnectionMode = (typeof ConnectionModes)[keyof typeof ConnectionModes]; export interface ActHeaders { [key: string]: string | undefined; /** * @deprecated Use action's name instead if needed */ actionVersion?: ActionVersion; traceId: string; acceptLanguage?: string; platformType?: PlatformType; mobileUid?: string; appVersion?: string; platformVersion?: string; serviceCode?: string; contentType?: MimeType; advertisingId?: string; token?: string; sentFrom?: string; ticket?: string; channelUuid?: string; connectionMode?: ConnectionMode; } export interface ActArguments { params?: GenericObject; session?: ActionSession; headers?: ActHeaders; } export type LogData = { traceId?: string; sessionOwnerId?: string; userIdentifier?: string; sessionType?: SessionType; serviceCode?: string; flags?: string[]; documentType?: string; };