import type { Address, PaymentOptions } from '../common/types.js'; import { BasePaymentsAPI } from './base-payments.js'; export interface DeploymentInfo { version?: string; chainId?: number; contracts: Record; } /** * Contracts API for accessing contract addresses from the Nevermined API info endpoint. */ export declare class ContractsAPI extends BasePaymentsAPI { private deploymentInfo?; constructor(options: PaymentOptions); /** * Fetch deployment info (including contract addresses) from the API root. * The result is cached after the first call. */ getDeploymentInfo(): Promise; /** * Get a contract address by name (e.g., "PayAsYouGoTemplate"). */ getContractAddress(contractName: string): Promise
; /** * Get the PayAsYouGoTemplate contract address (convenience accessor). */ getPayAsYouGoTemplateAddress(): Promise
; } //# sourceMappingURL=contracts-api.d.ts.map