import { Connection, PublicKey } from '@solana/web3.js'; import { Intent } from '../../layouts/intents/intent'; export declare function addFieldsToIntent(intent: Intent): Intent; export declare function fetchIntent(connection: Connection, intentAddress: PublicKey): Promise; export declare function fetchIntentsMultiple(connection: Connection, intentAddresses: PublicKey[]): Promise>; export interface IntentFilter { type: "basket" | "manager"; pubkey: string; } export declare function fetchIntents(connection: Connection, filter?: IntentFilter): Promise;