export type ErrorCode = "AlreadyPublishedError" | "InvalidCloseStateError";
export interface ReducerError {
    errorCode: ErrorCode;
}
export declare class AlreadyPublishedError extends Error implements ReducerError {
    errorCode: ErrorCode;
    constructor(message?: string);
}
export declare class InvalidCloseStateError extends Error implements ReducerError {
    errorCode: ErrorCode;
    constructor(message?: string);
}
export declare const errors: {
    PublishPool: {
        AlreadyPublishedError: typeof AlreadyPublishedError;
    };
    ClosePool: {
        InvalidCloseStateError: typeof InvalidCloseStateError;
    };
};
//# sourceMappingURL=error.d.ts.map