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