import * as z from "zod/v4"; import { EventStream } from "../../lib/event-streams.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import * as models from "../index.js"; export type CreateInternChatCompletionGlobals = { /** * The app identifier should be your app's URL and is used as the primary identifier for rankings. * * @remarks * This is used to track API usage per application. */ httpReferer?: string | undefined; /** * The app display name allows you to customize how your app appears in OpenRouter's dashboard. * * @remarks */ appTitle?: string | undefined; /** * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings. * * @remarks */ appCategories?: string | undefined; }; export type CreateInternChatCompletionRequest = { /** * The app identifier should be your app's URL and is used as the primary identifier for rankings. * * @remarks * This is used to track API usage per application. */ httpReferer?: string | undefined; /** * The app display name allows you to customize how your app appears in OpenRouter's dashboard. * * @remarks */ appTitle?: string | undefined; /** * Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings. * * @remarks */ appCategories?: string | undefined; /** * The intern to talk to. */ internId: string; internChatCompletionRequest: models.InternChatCompletionRequest; }; export type CreateInternChatCompletionResponseResult = models.InternChatSteeredResponse | EventStream; export type CreateInternChatCompletionResponse = { headers: { [k: string]: Array; }; result: models.InternChatSteeredResponse | EventStream; }; /** @internal */ export type CreateInternChatCompletionRequest$Outbound = { "HTTP-Referer"?: string | undefined; appTitle?: string | undefined; appCategories?: string | undefined; internId: string; InternChatCompletionRequest: models.InternChatCompletionRequest$Outbound; }; /** @internal */ export declare const CreateInternChatCompletionRequest$outboundSchema: z.ZodType; export declare function createInternChatCompletionRequestToJSON(createInternChatCompletionRequest: CreateInternChatCompletionRequest): string; /** @internal */ export declare const CreateInternChatCompletionResponseResult$inboundSchema: z.ZodType; export declare function createInternChatCompletionResponseResultFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateInternChatCompletionResponse$inboundSchema: z.ZodType; export declare function createInternChatCompletionResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createinternchatcompletion.d.ts.map