export declare class DirectStreamHttpError extends Error { readonly statusCode: number; readonly body: unknown; readonly code: string | null; constructor(statusCode: number, body: unknown, code: string | null); } export declare function getChatApiErrorStatus(error: unknown): number | null; export declare function getChatApiErrorMessage(error: unknown): string | null; export declare function getChatApiErrorCode(error: unknown): string | null;