import { ActivityDuplex } from '../types/activity';
import { CollationFaultType, CollationStage } from '../types/collator';
import { MeshFlowChildErrorType, MeshFlowProxyErrorType, MeshFlowSleepErrorType, MeshFlowWaitForAllErrorType, MeshFlowWaitForErrorType } from '../types/error';
declare class GetStateError extends Error {
    jobId: string;
    code: number;
    constructor(jobId: string);
}
declare class SetStateError extends Error {
    constructor();
}
declare class MeshFlowWaitForError extends Error {
    code: number;
    signalId: string;
    workflowId: string;
    index: number;
    workflowDimension: string;
    constructor(params: MeshFlowWaitForErrorType);
}
declare class MeshFlowProxyError extends Error {
    activityName: string;
    arguments: string[];
    backoffCoefficient: number;
    code: number;
    index: number;
    maximumAttempts: number;
    maximumInterval: number;
    originJobId: string | null;
    parentWorkflowId: string;
    expire: number;
    workflowDimension: string;
    workflowId: string;
    workflowTopic: string;
    constructor(params: MeshFlowProxyErrorType);
}
declare class MeshFlowChildError extends Error {
    await: boolean;
    arguments: string[];
    backoffCoefficient: number;
    code: number;
    expire: number;
    persistent: boolean;
    signalIn: boolean;
    workflowDimension: string;
    index: number;
    maximumAttempts: number;
    maximumInterval: number;
    originJobId: string | null;
    parentWorkflowId: string;
    workflowId: string;
    workflowTopic: string;
    constructor(params: MeshFlowChildErrorType);
}
declare class MeshFlowWaitForAllError extends Error {
    items: any[];
    code: number;
    workflowDimension: string;
    size: number;
    index: number;
    originJobId: string | null;
    parentWorkflowId: string;
    workflowId: string;
    workflowTopic: string;
    constructor(params: MeshFlowWaitForAllErrorType);
}
declare class MeshFlowSleepError extends Error {
    workflowId: string;
    code: number;
    duration: number;
    index: number;
    workflowDimension: string;
    constructor(params: MeshFlowSleepErrorType);
}
declare class MeshFlowTimeoutError extends Error {
    code: number;
    constructor(message: string, stack?: string);
}
declare class MeshFlowMaxedError extends Error {
    code: number;
    constructor(message: string, stackTrace?: string);
}
declare class MeshFlowFatalError extends Error {
    code: number;
    constructor(message: string, stackTrace?: string);
}
declare class MeshFlowRetryError extends Error {
    code: number;
    constructor(message: string, stackTrace?: string);
}
declare class MapDataError extends Error {
    constructor();
}
declare class RegisterTimeoutError extends Error {
    constructor();
}
declare class DuplicateJobError extends Error {
    jobId: string;
    constructor(jobId: string);
}
declare class InactiveJobError extends Error {
    jobId: string;
    activityId: string;
    status: number;
    constructor(jobId: string, status: number, activityId: string);
}
declare class GenerationalError extends Error {
    expected: string;
    actual: string;
    jobId: string;
    activityId: string;
    dimensionalAddress: string;
    constructor(expected: string, actual: string, jobId: string, activityId: string, dimensionalAddress: string);
}
declare class ExecActivityError extends Error {
    constructor();
}
declare class CollationError extends Error {
    status: number;
    leg: ActivityDuplex;
    stage: CollationStage;
    fault: CollationFaultType;
    constructor(status: number, leg: ActivityDuplex, stage: CollationStage, fault?: CollationFaultType);
}
export { CollationError, MeshFlowChildError, MeshFlowFatalError, MeshFlowMaxedError, MeshFlowProxyError, MeshFlowRetryError, MeshFlowSleepError, MeshFlowTimeoutError, MeshFlowWaitForAllError, MeshFlowWaitForError, DuplicateJobError, ExecActivityError, GenerationalError, GetStateError, InactiveJobError, MapDataError, RegisterTimeoutError, SetStateError, };
