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