export interface OfflineClientConfig { vaultUrl: string; timeout: number; fallbackToRemote: boolean; } export interface BootstrapRequest { device_id?: string; paths: string[]; include: { pubkeys: boolean; addresses: boolean; balances: boolean; transactions: boolean; }; cache_strategy: 'prefer_cache' | 'force_refresh' | 'cache_only'; } export interface BootstrapResponse { device_id: string; response_time_ms: number; cache_status: { total_requested: number; cache_hits: number; cache_misses: number; missing_paths: string[]; cache_freshness: string; }; data: { pubkeys: Record; addresses: Record; balances: Record; }; background_tasks: { missing_data_fetch: string; balance_refresh: string; transaction_sync: string; }; } export interface FastHealthResponse { status: string; device_connected: boolean; device_id?: string; cache_status: string; response_time_ms: number; } export declare class OfflineClient { private config; private isVaultAvailable; private lastHealthCheck; private healthCheckCacheMs; constructor(config: OfflineClientConfig); /** * Fast health check with caching */ checkVaultHealth(forceRefresh?: boolean): Promise; /** * Get complete wallet bootstrap data */ getWalletBootstrap(paths: string[], includeOptions?: { pubkeys: boolean; addresses: boolean; balances: boolean; transactions: boolean; }): Promise; /** * Convert vault bootstrap response to pioneer-sdk format */ convertBootstrapToPubkeys(bootstrap: BootstrapResponse): any[]; /** * Get network identifiers for a BIP32 path */ private getNetworksForPath; /** * Initialize offline mode */ initOffline(paths: string[]): Promise<{ pubkeys: any[]; balances: any[]; cached: boolean; }>; /** * Extract balance information from bootstrap response */ private extractBalancesFromBootstrap; /** * Get current availability status */ isAvailable(): boolean; /** * Background sync */ backgroundSync(paths: string[]): Promise; } //# sourceMappingURL=offline-client.d.ts.map