export interface DeploymentPath { env: string; chain: string; } export interface DeploymentOptions { basePath?: string; env: string; } /** * Resolve deployment path from network name and env. * @param network - hardhat network name (e.g. "Bsc", "Mapo_test", "Tron") * @param env - deployment environment: "prod", "main", "test" * @returns { env, chain } for deploy.json lookup */ export declare function resolveDeploymentPath(network: string, env: string): DeploymentPath; /** * Read a deployed contract address from deploy.json. * @param network - hardhat network name * @param key - contract key (e.g. "Gateway", "Authority") * @param opts - optional basePath and env overrides */ export declare function getDeploymentByKey(network: string, key: string, opts: DeploymentOptions): Promise; /** * Check if a contract address exists and is valid in deploy.json. * @param network - hardhat network name * @param key - contract key * @param opts - optional basePath and env overrides */ export declare function hasDeployment(network: string, key: string, opts: DeploymentOptions): Promise; /** * Save a deployed contract address to deploy.json. * @param network - hardhat network name * @param key - contract key (e.g. "Gateway") * @param addr - deployed address * @param opts - optional basePath and env overrides */ export declare function saveDeployment(network: string, key: string, addr: string, opts: DeploymentOptions): Promise;