import { Specification } from '../definitions';
export declare class MermaidState {
    private state;
    private isFirstState;
    constructor(state: {
        name?: string;
        type?: string;
        transition?: string | Specification.Transition;
        end?: boolean | Specification.End;
        compensatedBy?: string;
        onErrors?: Specification.Error[];
        usedForCompensation?: boolean;
    }, isFirstState?: boolean);
    sourceCode(): string;
    private definitions;
    private transitions;
    private stateKeyDiagram;
    private startTransition;
    private dataConditionsTransitions;
    private eventConditionsTransition;
    private defaultConditionTransition;
    private endTransition;
    private naturalTransition;
    private errorTransitions;
    private compensatedByTransition;
    private definitionDetails;
    private definitionType;
    private parallelStateDetails;
    private eventBasedSwitchStateDetails;
    private dataBasedSwitchStateDetails;
    private operationStateDetails;
    private sleepStateDetails;
    private foreachStateDetails;
    private callbackStateDetails;
    private definitionName;
    private transitionDescription;
    private stateDescription;
}
//# sourceMappingURL=mermaidState.d.ts.map