import { AgreementInstance } from './AgreementTemplate.abstract'; import { BaseTemplate } from './BaseTemplate.abstract'; import { DDO, ServiceCompute, ServiceType, ValidationParams } from '../../../ddo'; import { InstantiableConfig } from '../../../Instantiable.abstract'; import { Account } from '../../../sdk'; import { ComputeExecutionCondition, EscrowPaymentCondition, LockPaymentCondition } from '../conditions'; export interface EscrowComputeExecutionParams { consumerId: string; } export declare class EscrowComputeExecutionTemplate extends BaseTemplate { paramsGen(params: ValidationParams): Promise; static getInstance(config: InstantiableConfig): Promise; name(): string; description(): string; providerConfig(): Promise<{ type: string; description: string; environment: { cluster: { type: string; url: string; }; supportedContainers: { image: string; tag: string; checksum: string; }[]; supportedServers: { serverId: string; serverType: string; price: string; cpu: string; gpu: string; memory: string; disk: string; maxExecutionTime: number; }[]; }; }>; getServiceAgreementTemplate(): Promise; service(): ServiceType; params(consumer: Account): EscrowComputeExecutionParams; conditions(): [ ComputeExecutionCondition, LockPaymentCondition, EscrowPaymentCondition ]; instanceFromDDO(agreementIdSeed: string, ddo: DDO, creator: string, parameters: EscrowComputeExecutionParams): Promise>; }