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