export type ErrorCode = "DuplicateParticipantError" | "ParticipantNotFoundError";
export interface ReducerError {
    errorCode: ErrorCode;
}
export declare class DuplicateParticipantError extends Error implements ReducerError {
    errorCode: ErrorCode;
    constructor(message?: string);
}
export declare class ParticipantNotFoundError extends Error implements ReducerError {
    errorCode: ErrorCode;
    constructor(message?: string);
}
export declare const errors: {
    AddParticipant: {
        DuplicateParticipantError: typeof DuplicateParticipantError;
    };
    RemoveParticipant: {
        ParticipantNotFoundError: typeof ParticipantNotFoundError;
    };
    UpdateParticipantRole: {
        ParticipantNotFoundError: typeof ParticipantNotFoundError;
    };
};
//# sourceMappingURL=error.d.ts.map