import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { InternChatErrorMetadata } from "./internchaterrormetadata.js"; /** * The OpenAI-compatible error object. `metadata` is present on refusals from the chat route. Authentication refusals (`401`), the departed-creator `403` and the programme `404` carry only `code` and `message`. */ export type InternChatError = { /** * The HTTP status of the response. */ code: number; message: string; /** * Machine-readable detail for the failure. */ metadata?: InternChatErrorMetadata | undefined; }; /** @internal */ export declare const InternChatError$inboundSchema: z.ZodType; export declare function internChatErrorFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=internchaterror.d.ts.map