import type { SignerConfig } from '../types/signers'; /** * Environment detection utilities for warning about unsafe usage patterns */ /** * Detect if code is running in a browser environment */ export declare function isBrowserEnvironment(): boolean; /** * Check if we're in a Node.js server environment */ export declare function isNodeEnvironment(): boolean; /** * Validate baseUrl format */ export declare function validateBaseUrl(baseUrl?: string): void; /** * Validate Ethereum address format */ export declare function validateEthereumAddress(address: string): void; /** * Validate vault ID */ export declare function validateVaultId(vaultId: string): void; /** * Safe number conversion with bounds checking */ export declare function toSafeNumber(value: unknown, fieldName: string): number; /** * Extended config with security options */ export interface SignerSecurityConfig extends SignerConfig { /** * Enable debug logging for security-related checks * @default false */ debugSecurity?: boolean; } /** * Validate signer configuration */ export declare function validateSignerConfig(config: SignerSecurityConfig): void; //# sourceMappingURL=validation.d.ts.map