import { EscrowClient } from '../../../client/class/client.js';
import { ApiResponse, ContractDataResponse, ContractListResponse, WitnessListResponse, WitnessData, FundListResponse, ContractDigestResponse, ContractVMStateResponse, DraftData, ContractStatusResponse } from '../../../types/index.js';
export default function (client: EscrowClient): {
    cancel: (cid: string, token: string) => Promise<ApiResponse<ContractDataResponse>>;
    create: (session: Partial<DraftData>) => Promise<ApiResponse<ContractDataResponse>>;
    digest: (cid: string) => Promise<ApiResponse<ContractDigestResponse>>;
    funds: (cid: string) => Promise<ApiResponse<FundListResponse>>;
    list: (pubkey: string, token: string) => Promise<ApiResponse<ContractListResponse>>;
    read: (cid: string) => Promise<ApiResponse<ContractDataResponse>>;
    status: (cid: string) => Promise<ApiResponse<ContractStatusResponse>>;
    submit: (cid: string, witness: WitnessData) => Promise<ApiResponse<ContractDataResponse>>;
    vmstate: (cid: string) => Promise<ApiResponse<ContractVMStateResponse>>;
    witness: (cid: string) => Promise<ApiResponse<WitnessListResponse>>;
};
