/** Base error class for all Shuriken SDK errors. */ export declare class ShurikenError extends Error { /** Error code (e.g. `AUTH_ERROR`, `API_ERROR`). */ readonly code: string; constructor(message: string, /** Error code (e.g. `AUTH_ERROR`, `API_ERROR`). */ code: string); } /** Thrown when authentication fails (HTTP 401). */ export declare class ShurikenAuthError extends ShurikenError { constructor(message: string); } /** Thrown when the WebSocket session bootstrap or connection fails. */ export declare class ShurikenSessionError extends ShurikenError { constructor(message: string); } /** Thrown when an HTTP API call returns a non-2xx response (other than 401). */ export declare class ShurikenApiError extends ShurikenError { /** HTTP status code. */ readonly status: number; /** API request ID for support reference. */ readonly requestId?: string | undefined; constructor(message: string, /** HTTP status code. */ status: number, /** API request ID for support reference. */ requestId?: string | undefined); } /** Thrown when a WebSocket message payload cannot be decoded. */ export declare class ShurikenDecodeError extends ShurikenError { /** Schema ID of the payload that failed to decode. */ readonly payloadSchemaId?: string | undefined; constructor(message: string, /** Schema ID of the payload that failed to decode. */ payloadSchemaId?: string | undefined); } //# sourceMappingURL=errors.d.ts.map