import type { Transport, BlockConfig, BlockMetadata, HealthCheckResponse } from '@23blocks/contracts'; import { type WalletsService, type TransactionsService, type AuthorizationCodesService, type WebhooksService } from './services/index.js'; /** * Configuration for the Wallet block. */ export interface WalletBlockConfig extends BlockConfig { } /** * Digital wallet and transaction management block interface. */ export interface WalletBlock { /** Wallet CRUD operations */ wallets: WalletsService; /** Transaction management */ transactions: TransactionsService; /** Authorization code management */ authorizationCodes: AuthorizationCodesService; /** Webhook management */ webhooks: WebhooksService; /** Ping the service health endpoint */ health(): Promise; } /** * Create the Wallet block. * * @example * ```typescript * const block = createWalletBlock(transport, { apiKey: 'xxx' }); * const wallets = await block.wallets.list({ page: 1 }); * ``` */ export declare function createWalletBlock(transport: Transport, config: WalletBlockConfig): WalletBlock; export declare const walletBlockMetadata: BlockMetadata; //# sourceMappingURL=wallet.block.d.ts.map