export type ErrorCode = "NotOwnerError" | "PackageNotFoundError";
export interface ReducerError {
    errorCode: ErrorCode;
}
export declare class NotOwnerError extends Error implements ReducerError {
    errorCode: ErrorCode;
    constructor(message?: string);
}
export declare class PackageNotFoundError extends Error implements ReducerError {
    errorCode: ErrorCode;
    constructor(message?: string);
}
export declare const errors: {
    AddPackage: {
        NotOwnerError: typeof NotOwnerError;
    };
    RemovePackage: {
        NotOwnerError: typeof NotOwnerError;
    };
    SetPackageVersion: {
        PackageNotFoundError: typeof PackageNotFoundError;
        NotOwnerError: typeof NotOwnerError;
    };
};
//# sourceMappingURL=error.d.ts.map