import { BaseError } from 'make-error'; import { type SyncEntityCommonType, type SyncEntityCommonTypeIdPair } from './sync.entity'; /** * Error thrown when the common type is not known/registered. */ export declare class UnregisteredSyncEntityCommonTypeError extends BaseError { readonly commonType: SyncEntityCommonType; constructor(commonType: SyncEntityCommonType); } /** * Error thrown when no primary sync source is found for an entity. */ export declare class NoPrimarySyncSourceError extends BaseError { readonly entity: SyncEntityCommonTypeIdPair; constructor(entity: SyncEntityCommonTypeIdPair); } /** * Error thrown when multiple primary sync sources are found for an entity. */ export declare class MultiplePrimarySyncSourceError extends BaseError { readonly entity: SyncEntityCommonTypeIdPair; constructor(entity: SyncEntityCommonTypeIdPair); } /** * Error thrown when a synchronization fails for an entity. */ export declare class SynchronizationFailedError extends BaseError { readonly entity: SyncEntityCommonTypeIdPair; readonly error: unknown; constructor(entity: SyncEntityCommonTypeIdPair, error: unknown); }