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