import { CoreErrorException } from "../../../contracts/domain/errors/index.js"; /** Stable error codes for SyncPollingSupervisor option validation. */ export declare const SYNC_POLLING_ERROR_CODES: { /** A numeric option must be a positive (> 0) safe integer. */ readonly POSITIVE_INTEGER_REQUIRED: "sync_polling_positive_integer_required"; /** errorBackoffMaxMs must be >= errorBackoffInitialMs. */ readonly BACKOFF_ORDER_INVALID: "sync_polling_backoff_order_invalid"; }; export type SyncPollingErrorCode = (typeof SYNC_POLLING_ERROR_CODES)[keyof typeof SYNC_POLLING_ERROR_CODES]; /** Typed error for SyncPollingSupervisor option validation. */ export declare class PollingSupervisorOptionsError extends RangeError { readonly code: SyncPollingErrorCode; constructor(code: typeof SYNC_POLLING_ERROR_CODES.BACKOFF_ORDER_INVALID); constructor(code: typeof SYNC_POLLING_ERROR_CODES.POSITIVE_INTEGER_REQUIRED, label: string); } /** Stable failures raised while assembling or running the internal sync service. */ export declare const SYNC_SERVICE_ERROR_CODES: { readonly INVALID_OPTIONS: "invalid_sync_service_options"; readonly INVALID_PROJECTION_CONFIG: "invalid_sync_projection_config"; readonly PROVIDER_UNAVAILABLE: "sync_provider_unavailable"; readonly STARTUP_FAILED: "sync_service_startup_failed"; /** Existing-sheet adoption dry-run finished; the full report rides on the error. */ readonly ADOPTION_DRY_RUN_REPORT: "existing_sheet_adoption_dry_run_report"; /** * Adoption seeding refused: observed cell kinds would be quarantined by the * first polling pass (e.g. a numeric sheet column bound to a string * property). Fail-closed BEFORE any SQLite state is written (design ยง11 * finding; Terra-promoted follow-up). */ readonly ADOPTION_CELL_KIND_MISMATCH: "existing_sheet_adoption_cell_kind_mismatch"; }; export type SyncServiceErrorCode = (typeof SYNC_SERVICE_ERROR_CODES)[keyof typeof SYNC_SERVICE_ERROR_CODES]; /** Internal service error; never re-exported from the root public API. */ export declare class SyncServiceError extends CoreErrorException<"application.sync_service", SyncServiceErrorCode> { constructor(code: SyncServiceErrorCode, message: string); } //# sourceMappingURL=errors.d.ts.map