import type { DeepPartial, Type } from 'ts-gems'; import type { ErrorIssue } from '../../../exception/index.js'; export declare class OperationResult { constructor(init?: DeepPartial); context?: string; type?: string; message?: string; payload?: TPayload; errors?: ErrorIssue[]; [index: string]: any; } export declare namespace OperationResult { function forPayload(type: Type): Type; }