/** * Validation utilities for the SDK */ import type { SDKConfig, StatePayload } from '../types/base'; export declare const MINIMUM_AGE = 25; export declare const MAXIMUM_AGE = 150; export declare const MAX_URL_LENGTH = 2048; export declare const MAX_API_KEY_LENGTH = 128; export declare const STATE_EXPIRY_MS = 600000; export interface ValidationContext { brandName: string; docsUrl: string; } export declare function validateConfig(config: SDKConfig, context: ValidationContext): void; export declare function validateSessionId(sessionId: string): void; export declare function validateChallengeAge(age?: number): void; export declare function generateState(payload: StatePayload, environment: 'production' | 'staging', hmacSecret: string, _logLabel?: string): Promise; export declare function parseState(state: string, environment: 'production' | 'staging', hmacSecret: string, logLabel?: string): Promise;