export type ErrorCode = "MessageNotFoundError" | "MessageAlreadyPinnedError" | "MessageNotPinnedError";
export interface ReducerError {
    errorCode: ErrorCode;
}
export declare class MessageNotFoundError extends Error implements ReducerError {
    errorCode: ErrorCode;
    constructor(message?: string);
}
export declare class MessageAlreadyPinnedError extends Error implements ReducerError {
    errorCode: ErrorCode;
    constructor(message?: string);
}
export declare class MessageNotPinnedError extends Error implements ReducerError {
    errorCode: ErrorCode;
    constructor(message?: string);
}
export declare const errors: {
    EditMessage: {
        MessageNotFoundError: typeof MessageNotFoundError;
    };
    DeleteMessage: {
        MessageNotFoundError: typeof MessageNotFoundError;
    };
    PinMessage: {
        MessageNotFoundError: typeof MessageNotFoundError;
        MessageAlreadyPinnedError: typeof MessageAlreadyPinnedError;
    };
    UnpinMessage: {
        MessageNotPinnedError: typeof MessageNotPinnedError;
    };
    AddReaction: {
        MessageNotFoundError: typeof MessageNotFoundError;
    };
    RemoveReaction: {
        MessageNotFoundError: typeof MessageNotFoundError;
    };
};
//# sourceMappingURL=error.d.ts.map