/** * Default and required configuration values for the Paylock Node SDK. * These are merged with user-supplied values by the Config.ts class. */ type Nullable = T | null; /** * Resolve the domain for Paylock requests: * - If user supplies domain → sanitize and use it if valid * - Else try environment-based inference * - Else load or generate stable fingerprint */ export declare function resolvePaylockDomain(userSuppliedDomain: unknown): string; export declare function resolvePaylockEnvironment(userSuppliedEnvironment: unknown): 'production' | 'staging' | 'development'; export declare const requiredConfig: { secret: Nullable; /** * Domain is required by Paylock when domain-aware checks are enabled. * If user doesn't provide it, we attempt inference from environment. * If we still can't infer a valid hostname, we generate a stable fingerprint. */ domain: Nullable; }; export declare const defaultConfig: { base_url: string; environment: Nullable; recheck: boolean; license: Nullable; api_key: Nullable; action: string; timeout: number; per_page: Nullable; injectables: boolean; injectablesVerify: boolean; injectablesPath: Nullable; handleInjectables: boolean; injectablesProcessor: any; invalidBehavior: string; redirectUrl: Nullable; customInvalidMessage: string; customInvalidView: Nullable; cachePath: null; onReady: ((response: any) => void) | null; }; export {};