declare const ActivityError_base: {
    new (): Error;
    prototype: Error;
};
/** Defines an abstract error for when an activity error has occurred. */
export declare abstract class ActivityError extends ActivityError_base {
    /** Indicates the error code. */
    code: string;
}
/** Defines an error that occurs when an activity has been cancelled. */
export declare class ActivityCancellationError extends ActivityError {
}
/** Defines an error that occurs when there is an error executing an activity. */
export declare class GenericActivityError extends ActivityError {
    constructor(code?: string, text?: string);
    /** Indicates the activity that failed. */
    activityId: number;
    /** Indicates the inner error. */
    code: string;
    /** Indicates the amount of time taken. */
    elapsed: number;
    /** Indicates the error was a result of a timeout. */
    timedOut: boolean;
    /** Indicates the inner error. */
    error: any;
    /** Indicates the inner errors. */
    errors: Error[];
    /** Indicates the partial result. */
    partialResult: any;
}
declare const ProgramStartError_base: {
    new (): Error;
    prototype: Error;
};
/** Defines an error that occurs when there is no starting step given or available. */
export declare class ProgramStartError extends ProgramStartError_base {
    code: string;
}
declare const UnspecifiedError_base: {
    new (): Error;
    prototype: Error;
};
/** Defines an error that occurs when there is no starting step given or available. */
export declare class UnspecifiedError extends UnspecifiedError_base {
    code: string;
}
/** Defines an error that occurs when there is a problem with instantiating an activity handler. */
export declare class ActivityBindingError extends ActivityError {
    constructor(id: number, action: string, error?: any);
    /** Indicates the activity that failed. */
    activityId: number;
    /** Indicates the action that failed. */
    action: string;
    /** Indicates the underlying error that occurred. */
    error: any;
}
declare const EngineRuntimeError_base: {
    new (): Error;
    prototype: Error;
};
/** Defines an error that occurs when there is a problem with the workflow engine. */
export declare class EngineRuntimeError extends EngineRuntimeError_base {
    constructor(error: any);
    code: string;
    error: any;
}
declare const ProgramParserError_base: {
    new (): Error;
    prototype: Error;
};
/** Defines an error that occurs when there is a problem with parsing the workflow program. */
export declare class ProgramParserError extends ProgramParserError_base {
    constructor(error: any);
    code: string;
    error: any;
}
/** Defines an error that occurs when there is a problem evaluating an expression during the execution of a workflow. */
export declare class ExpressionEvaluationError extends ActivityError {
    constructor(id: number, inputName: string, expression: string, error?: any);
    /** Indicates the identifier the failed activity. */
    activityId: number;
    /** Indicates the input name of the failed expression. */
    inputName: string;
    /** Indicates the expression that failed. */
    expression: string;
    /** Indicates the error that failed. */
    error: any;
}
/** Defines an error that occurs when there is a problem parsing an expression during the execution of a workflow. */
export declare class ExpressionSyntaxError extends ActivityError {
    constructor(id: number, inputName: string, expression: string, error?: any);
    /** Indicates the identifier the failed activity. */
    activityId: number;
    /** Indicates the input name of the failed expression. */
    inputName: string;
    /** Indicates the expression that failed. */
    expression: string;
    /** Indicates the error that failed. */
    error: any;
}
/** Defines an error that occurs when there is a problem accesssing the workflow or global scope. */
export declare class ExpressionAccessorError extends ActivityError {
    constructor(id: number, accessorName: string, error: any, errors?: Error[]);
    /** Indicates the identifier the failed activity. */
    activityId: number;
    /** Indicates the accessor name within the failed expression. */
    accessorName: string;
    /** Indicates the error that failed. */
    error?: any;
    /** Indicates the error that failed. */
    errors?: Error[];
}
/** Defines an error that occurs when there is a problem accessing the workflow or global scope. */
export declare class ActivityActivationError extends ActivityError {
    constructor(id: number, type: string, error: any);
    /** Indicates the identifier the failed activity. */
    activityId: number;
    /** Indicates the type of the . */
    type: string;
    /** Indicates the error that failed. */
    error?: any;
}
/** Defines an error that occurs when there is a failure with an activity. */
export declare class AggregateActivityError extends ActivityError {
    constructor(id: number, errors?: Error[]);
    /** Indicates the identifier the failed activity. */
    activityId: number;
    /** Indicates the error that failed. */
    errors?: Error[];
}
/** Defines an error that occurs when there is a problem with an input. */
export declare class ActivityInputError extends ActivityError {
    constructor(inputName: string, assertion: string);
    /** Indicates the assertion for which the input failed. */
    assertion: string;
    /** Indicates the input that there was a problem with. */
    inputName: string;
}
/**
 * Defines an error that occurs when an attempt was made to execute an activity
 * which has not been implemented by the host application.
 */
export declare class ActivityNotImplementedError extends ActivityError {
    constructor(activityName: string);
}
export {};
