import { EscrowClient } from '../../client/class/client.js';
import { EscrowProposal } from '../../client/class/proposal.js';
import { ContractDataResponse, ContractListResponse, DepositListResponse, WitnessListResponse } from '../../client/types.js';
import { ApiResponse, ProposalData, WitnessData } from '../../types/index.js';
export default function (client: EscrowClient): {
    create: (proposal: ProposalData | EscrowProposal, signatures?: string[] | undefined) => Promise<ApiResponse<ContractDataResponse>>;
    funds: (cid: string) => Promise<ApiResponse<DepositListResponse>>;
    list: (token: string) => Promise<ApiResponse<ContractListResponse>>;
    read: (cid: string) => Promise<ApiResponse<ContractDataResponse>>;
    submit: (cid: string, witness: WitnessData) => Promise<ApiResponse<ContractDataResponse>>;
    witness: (cid: string) => Promise<ApiResponse<WitnessListResponse>>;
};
