import type { ResidencyDecision, ResidencyTarget } from '../types/residency.js'; /** * Raised when a request, or its data, would reach something outside the regions its tenant may * reach: a provider, a replica, a trace store, or an asset store. Nothing is sent. */ export declare class ResidencyError extends Error { /** Stable code for the refusal. */ readonly code = "RESIDENCY_DENIED"; /** What it would have reached. */ readonly target: ResidencyTarget; /** The tenant it ran for. */ readonly tenantId?: string; /** The regions the tenant may reach. */ readonly regions?: readonly string[]; /** The rule that held it back, such as `tenant acme: eu-west`. */ readonly rule: string; constructor(target: ResidencyTarget, decision: ResidencyDecision, detail?: string); }