import { b as CipherTextOptions, c as CipherTextResult, C as CipherTextPayload } from '../client-fisRnxD5.mjs'; export { z as APIError, o as AlertFilters, p as AlertListResponse, l as AlertSeverity, A as AlertStatus, m as AlertType, a as CipherTextReason, k as ComplianceCheckResponse, v as CreateGeofenceRuleRequest, r as CreateJurisdictionRequest, O as CreateLocationRequestRequest, q as DashboardMetrics, d as DecryptedCipherText, i as DeviceFingerprint, D as DeviceFingerprintRequest, j as DeviceTrustResult, g as GeoIPResult, t as GeofenceAction, h as GeofenceEvaluation, u as GeofenceRule, s as GeofenceRuleType, n as GeolocationAlert, G as GeolocationClient, B as GeolocationClientConfig, y as GeolocationRecord, J as JurisdictionConfig, T as LocationCaptureRequest, Y as LocationCaptureResponse, N as LocationRequest, M as LocationRequestChannel, Q as LocationRequestFilters, R as LocationRequestListResponse, P as LocationRequestResult, K as LocationRequestStatus, X as LocationShareInfo, L as LocationVerification, S as ResendLocationRequestRequest, x as UpdateDeviceTrustRequest, w as UpdateGeofenceRuleRequest, U as UpdateJurisdictionRequest, H as UseAlertsOptions, I as UseAlertsResult, E as UseGeolocationOptions, F as UseGeolocationResult, $ as UseLocationCaptureOptions, a0 as UseLocationCaptureResult, Z as UseLocationRequestsOptions, _ as UseLocationRequestsResult, V as ValidateCipherTextRequest, e as ValidateCipherTextResponse, f as VerifyIPRequest, W as WiFiNetwork } from '../client-fisRnxD5.mjs'; export { P as PaginationParams } from '../types-DxnfRzF_.mjs'; /** * CipherText Generation Utility * * Collects device fingerprint and location data from the browser, * encrypts it into a cipherText that can be validated by the server. * * The cipherText is used for: * - Registration verification * - Login verification * - Transaction verification * - Periodic location checks */ /** * Generate a cipherText containing encrypted device and location data * * @param options - Options for cipherText generation * @returns CipherText result with the encrypted string * * @example * ```typescript * // Basic usage for login * const result = await generateCipherText({ reason: 'login' }); * console.log(result.cipherText); * * // With GPS location for registration * const result = await generateCipherText({ * reason: 'registration', * requestLocation: true, * locationTimeout: 15000 * }); * * if (result.locationCaptured) { * console.log('GPS location included'); * } * ``` */ declare function generateCipherText(options: CipherTextOptions): Promise; /** * Decode a cipherText (for debugging/testing - not for production use) * In production, decryption happens on the server */ declare function decodeCipherText(cipherText: string): CipherTextPayload | null; /** * Check if a cipherText is expired */ declare function isCipherTextExpired(cipherText: string): boolean; /** * React hook for generating cipherText * * @example * ```tsx * function LoginForm() { * const { generate, isGenerating, error } = useCipherText(); * * const handleLogin = async () => { * const result = await generate({ reason: 'login' }); * if (result) { * await loginMutation({ email, password, cipherText: result.cipherText }); * } * }; * } * ``` */ declare function useCipherText(): { generate: (options: CipherTextOptions) => Promise; }; export { CipherTextOptions, CipherTextPayload, CipherTextResult, decodeCipherText, generateCipherText, isCipherTextExpired, useCipherText };