import { ISandbox } from '../security/interfaces'; import { Result } from '../../../shared/result'; import { ValidationError } from '../../errors/ValidationError'; import { ContractEntity } from '../../entities/ContractEntity'; /** * Result of contract logic execution */ export interface ContractLogicResult { isValid: boolean; errors: string[]; warnings: string[]; executionTime: number; } /** * Service to execute custom contract logic safely */ export declare class ContractLogicExecutor { private readonly sandbox; constructor(sandbox: ISandbox); /** * Executes the custom validator of a contract */ executeValidator(contract: ContractEntity, payload: any, context?: any): Promise>; } //# sourceMappingURL=ContractLogicExecutor.d.ts.map