/**
 * Encapsulates an error from an operation.
 */
export declare class OperationError {
    /**
     * Gets the exception associated with the error.
     */
    readonly exception: Error;
    /**
     * Gets the message associated with the error.
     */
    get message(): string;
    /**
     * Initializes a new instance of the OperationError class.
     * @param exception The exception associated with the error.
     */
    constructor(exception: Error);
    /**
     * Returns a string representation of the error.
     * @returns A string representation of the error.
     */
    toString(): string;
}
//# sourceMappingURL=operation-error.d.ts.map