import { EscrowClient } from '../../client/class/client.js';
import { ApiResponse, ContractDataResponse, ContractListResponse, WitnessListResponse, ProposalData, WitnessData, FundListResponse, ContractDigestResponse, ContractVMStateResponse } from '../../types/index.js';
export default function (client: EscrowClient): {
    cancel: (cid: string, token: string) => Promise<ApiResponse<ContractDataResponse>>;
    create: (proposal: ProposalData, signatures?: string[] | undefined) => 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>>;
    submit: (cid: string, witness: WitnessData) => Promise<ApiResponse<ContractDataResponse>>;
    vmstate: (cid: string) => Promise<ApiResponse<ContractVMStateResponse>>;
    witness: (cid: string) => Promise<ApiResponse<WitnessListResponse>>;
};
