import { EscrowClient } from '../class/client.js';
import { CovenantData, ReturnData, ApiResponse, DepositRequest, AccountDataResponse, DepositDataResponse, DepositListResponse, FundingDataResponse } from '../../types/index.js';
export default function (client: EscrowClient): {
    read: (dpid: string) => Promise<ApiResponse<DepositDataResponse>>;
    list: (pubkey: string, token: string) => Promise<ApiResponse<DepositListResponse>>;
    commit: (dpid: string, covenant: CovenantData) => Promise<ApiResponse<FundingDataResponse>>;
    fund: (agent_id: string, return_tx: string, covenant: CovenantData) => Promise<ApiResponse<FundingDataResponse>>;
    register: (agent_id: string, return_tx: string) => Promise<ApiResponse<DepositDataResponse>>;
    request: (req: DepositRequest) => Promise<ApiResponse<AccountDataResponse>>;
    close: (req: ReturnData) => Promise<ApiResponse<DepositDataResponse>>;
};
