import { type Connection } from '@solana/web3.js'; import type { SolanaChain } from './index.ts'; import type { Wallet } from './types.ts'; import type { WithLogger } from '../types.ts'; /** * Clean up and recycle buffers and Address Lookup Tables owned by wallet. * @param ctx - Context object containing the Solana connection instance and logger. * @param wallet - Wallet instance to sign txs. * @param opts - Optional parameters. Set `waitDeactivation` to wait for lookup table deactivation * cool down period (513 slots) to pass before closing; by default, we deactivate (if needed) * and leave close to be done in the future. */ export declare function cleanUpBuffers(ctx: { connection: Connection; getLogs: SolanaChain['getLogs']; } & WithLogger, wallet: Wallet, opts?: { waitDeactivation?: boolean; }): Promise; //# sourceMappingURL=cleanup.d.ts.map