/** * Auth adapter error surface. * * Each class is its own subclass (not a bare `Error`) so integrators can * branch on `instanceof` — e.g. treat a configuration error as a setup * mistake and a verification/authorize error as a request-time failure — * without string-matching messages. * * The package's tsconfig targets a pre-ES2022 `lib`, so the native * `ErrorOptions` `cause` parameter isn't available here: each constructor * takes an explicit `options.cause` and assigns it as an own property. */ export declare class ShopifyAuthConfigurationError extends Error { cause?: unknown; constructor(message: string, options?: { cause?: unknown; }); } export declare class ShopifyIdTokenVerificationError extends Error { cause?: unknown; constructor(message: string, options?: { cause?: unknown; }); } export declare class FanfareExternalAuthorizeError extends Error { cause?: unknown; /** Set only when an HTTP response was received; absent for network/read/serialization failures. */ status?: number; /** Response text, truncated to 500 chars. */ body?: string; constructor(message: string, options?: { cause?: unknown; status?: number; body?: string; }); }