import { ValidationError } from 'yup';
import { SafeObserver } from './reactive.js';
export declare const updateErrorMessage = "Failed to update oracle";
export declare class WorkflowError extends Error {
    isProtocolError: boolean;
    constructor({ message, errorCause, isProtocolError, }: {
        message: string;
        errorCause: Error;
        isProtocolError?: boolean;
    });
}
export declare function handleIfProtocolError(error: Error, observer: SafeObserver<unknown>): void;
export declare class NoValueError extends Error {
}
export { ValidationError };
