import { EscrowClient } from '../../class/client.js';
import { ApiResponse, AccountRequest, AccountDataResponse, DepositDataResponse, DepositListResponse, FundingDataResponse, RegisterRequest, CommitRequest, CloseRequest, LockRequest, DepositDigestResponse, DepositStatusResponse } from '../../../types/index.js';
export default function (client: EscrowClient): {
    request: (request: AccountRequest) => Promise<ApiResponse<AccountDataResponse>>;
    register: (request: RegisterRequest) => Promise<ApiResponse<DepositDataResponse>>;
    commit: (request: CommitRequest) => Promise<ApiResponse<FundingDataResponse>>;
    digest: (dpid: string) => Promise<ApiResponse<DepositDigestResponse>>;
    status: (dpid: string) => Promise<ApiResponse<DepositStatusResponse>>;
    list: (pubkey: string, token: string) => Promise<ApiResponse<DepositListResponse>>;
    read: (dpid: string) => Promise<ApiResponse<DepositDataResponse>>;
    lock: (dpid: string, request: LockRequest) => Promise<ApiResponse<FundingDataResponse>>;
    close: (dpid: string, request: CloseRequest) => Promise<ApiResponse<DepositDataResponse>>;
};
