import type { MapLike } from '../common/app-types'; export interface ClientSdkDeItem { nm: string; typ: string; key?: string; def?: any; cl?: boolean; lwcase?: boolean; fn?: (deHelper: any, input: any) => any; isAsync?: boolean; fnTOut?: number; stDur?: DeStorageDuration; } export declare enum DeStorageDuration { NONE = "NONE", EVENT = "EVENT", SESSION = "SESSION", VISITOR = "VISITOR" } export declare enum ParamResourceEncodingType { URL_ENC = "URL_ENC", BASE64 = "BASE64" } export declare enum ParamResourceHashType { SHA256 = "SHA256", SHA512 = "SHA512" } export declare enum ParamResourceValSrc { STATIC = "STATIC", DE = "DE", TRANS_FUNC = "TRANS_FUNC", CHILDREN = "CHILDREN", TG_JSON_PATH = "TG_JSON_PATH" } export interface SdkParamEncodingTransformer { nm: string; eTyp: 'URL_ENC' | 'BASE64'; o?: number; } export interface SdkParamHashingTransformer { nm: string; hTyp: ParamResourceHashType; o?: number; } export interface SdkParamIgnoreEmptyTransformer { nm: string; igEmpty: boolean; o?: number; } export declare type TFType = (SdkParamHashingTransformer | SdkParamEncodingTransformer | SdkParamIgnoreEmptyTransformer)[]; export interface ClientSdkParamItem { id: string; nm: string; rqd?: boolean; tf?: TFType; prLvl?: boolean; pId?: string; sv?: string; de?: string; tfId?: string; children?: ClientSdkParamItem[]; exclude_from_req_body?: boolean; fKey: string; val_src: string; } export interface ClientSdkQcCondition { param: string; i?: string[]; e?: string[]; i_ect: boolean; i_cs?: boolean; e_ect?: boolean; e_cs?: boolean; } export interface ClientSdkPrItem { nm: string; url?: string; typ: string; sTyp: string; rParams?: MapLike; hrs?: MapLike; ext?: string; src?: string; sync?: boolean; pr: string; chld?: boolean; } export interface ClientSdkTfnItem { nm: string; fn: (input: any) => any; rParams: MapLike; } export interface ClientSdkQcItem { nm: string; id: string; c: ClientSdkQcCondition[]; } export interface ClientSdkTagItem { nm: string; p: string; url: string; rParams?: MapLike; st: number; ex: number; qc: string[]; img?: boolean; wrk?: boolean; chld?: boolean; } export interface ClientSdkSettingsItem { dbg: boolean; err: boolean; c_dom: string; v_dur: number; c_url: string; bare_c_url?: string; wh_idl?: string[]; wh_domains?: string[]; c_url_lkp?: MapLike<{ v: string; ig: boolean; ect: boolean; }>; v_id: string; p_id: string; ev: string; ev_id: string; dly: number; sst: boolean; idl: boolean; c_typ?: string; c_src?: string; c_key?: string; v: string; bld_dt: string; p_view?: boolean; dws_c_t: 'j' | 'n'; dws_s_t: 'j' | 'n'; } export interface BaseResourceParamType { id: string; nm: string; o?: number; pId?: string; children?: BaseResourceParamType[]; } export interface MpClientSdk { langKey: string; pcKey: string; cDomKey?: string; domWListKey?: string; d: MapLike; qc?: ClientSdkQcItem[]; t?: MapLike; p?: MapLike; tfn?: MapLike; s: ClientSdkSettingsItem; dtmE: string[]; ctmE: string[]; mpDlE: string[]; sseDtmE: string[]; sseCtmE: string[]; sseMpDlE: string[]; }