export interface ILogData { name?: string; process_id: string; workspace_id?: string; recipient_workspace_id?: string; parent_tag?: string; child_tag?: string; pricing_tag?: string; pricing_cost?: number; currency?: string; overage?: boolean; successful_execution?: boolean; failed_execution?: boolean; product_tag: string; app_id?: string; action?: string; /** HTTP method of the underlying action call, when applicable (e.g. GET, POST) */ method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; cache_tag?: string; cache_key?: string; cache_status?: boolean; storage?: number; message?: string; env: string; app_env?: string; type: LogEventTypes; data: object | string; /** When true, `data` is encrypted with the workspace private key (AES). Backend may decrypt when returning logs. */ data_encrypted?: boolean; status: LogEventStatus; start?: number; end?: number; /** Latency/duration in milliseconds (end - start) */ latency?: number; timestamp?: Date; /** Session user identifier (e.g., user ID, email) extracted from session token */ session_user_id?: string; /** Session ID from the session token */ session_id?: string; /** Session tag identifying the session type */ session_tag?: string; /** Anonymous visitor id (browser-generated, persists before login) */ visitor_id?: string; /** Client IP observed by the SDK host */ ip_address?: string; /** Client locale / language tag (e.g. en, en-US) */ language?: string; } export declare enum LogEventTypes { NOTIFICATIONS = "notifications", /** Notification channel: push (Expo, Firebase, etc.) */ PUSH = "push", /** Notification channel: email */ EMAIL = "email", /** Notification channel: SMS */ SMS = "sms", /** Notification channel: callbacks / webhooks */ CALLBACKS = "callbacks", /** Notification channel: Slack */ SLACK = "slack", /** Notification channel: Discord */ DISCORD = "discord", DB_ACTION = "database_actions", ACTION = "actions", FUNCTIONS = "functions", STORAGE = "storage", WEBHOOK = "webhook", JOB = "jobs", MESSAGEBROKER = "message_broker", PRODUCER = "producer", CONSUMER = "consumer", QUOTA = "quota", FALLBACK = "fallback", DB_MIGRATION = "database_migration", FEATURE = "feature", FEATURE_STEP = "feature_step", DATABASE = "database", GRAPH = "graph", SESSION = "session", VECTOR = "vector", CACHE = "cache", /** Frontend product analytics (clicks, pageviews, custom events) */ FRONTEND = "frontend" } export declare enum LogEventStatus { SUCCESS = "success", FAIL = "fail", WAITING = "waiting", PROCESSING = "processing" }