export type { StateMachineDefinition, State, StateBase, TerminalFields, TaskState, PassState, ChoiceState, WaitState, FailState, ParallelState, MapState, SucceedState, ChoiceRule, ComparisonRule, NotRule, AndRule, OrRule, RetryRule, CatchRule, } from './types.js';
import type { StateMachineDefinition } from './types.js';
export interface AslValidationError {
    readonly code: string;
    readonly message: string;
    readonly stateName?: string;
    readonly field?: string;
    readonly severity: 'error' | 'warning';
}
export interface AslParseResult {
    readonly definition?: StateMachineDefinition;
    readonly errors: readonly AslValidationError[];
}
export declare class AslParser {
    static parse(json: string): StateMachineDefinition;
    static parseAndValidate(json: string): AslParseResult;
}
export declare class AslSerializer {
    static serialize(def: StateMachineDefinition, indent?: number): string;
    static serializeToObject(def: StateMachineDefinition): Record<string, any>;
}
export declare class AslValidator {
    static validate(def: StateMachineDefinition): readonly AslValidationError[];
    static isValid(def: StateMachineDefinition): boolean;
}
//# sourceMappingURL=index.d.ts.map