/** * Complete Example: Enhanced TOSS Flow with Compression, Incentives & WiFi * * Demonstrates: * 1. Compression of intent metadata * 2. Smart transport selection (WiFi > BLE) * 3. Relay incentive tracking * 4. Mesh clustering for optimal routing */ import { Connection, Keypair, PublicKey } from '@solana/web3.js'; /** * Example 1: Metadata Compression Flow * * Compress large memo text before transmission */ export declare function exampleCompressedIntentFlow(sender: Keypair, recipient: PublicKey, amount: number, connection: Connection): Promise; /** * Example 2: Smart Transport Selection * * Automatically choose WiFi Direct if available, fallback to BLE */ export declare function exampleSmartTransportFlow(): Promise; /** * Example 3: Relay Incentive Tracking * * Calculate and track rewards for devices relaying transactions */ export declare function exampleRelayIncentiveFlow(): Promise; /** * Example 4: Mesh Clustering & Smart Routing * * Use signal strength to form clusters and find optimal paths */ export declare function exampleMeshClusteringFlow(): Promise; /** * Example 5: Complete Production Flow * * Integrates compression + WiFi transport + incentives + optimal routing */ export declare function exampleCompleteEnhancedFlow(sender: Keypair, recipient: PublicKey, amount: number, connection: Connection, _feePayer: PublicKey): Promise; /** * Run all examples */ export declare function runAllExamples(connection: Connection): Promise; //# sourceMappingURL=enhancedFeaturesFlow.d.ts.map