import * as z from "zod/v4"; import { OpenEnum } from "../../types/enums.js"; export type ListInternsGlobals = { /** * 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 declare const Status: { readonly AwaitingSlackInstall: "awaiting_slack_install"; readonly Queued: "queued"; readonly Provisioning: "provisioning"; readonly Running: "running"; readonly Failed: "failed"; readonly Stopped: "stopped"; readonly Destroying: "destroying"; readonly DestroyFailed: "destroy_failed"; }; export type Status = OpenEnum; export type ListInternsRequest = { /** * 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; /** * Maximum number of interns to return, from 1 through 500. */ limit?: number | undefined; /** * Comma-separated lifecycle statuses to include, at most 8. Repeats are collapsed. */ status?: Array | undefined; /** * The opaque `next_cursor` of the previous page. Returns the interns that come after it in the newest-first order. A malformed cursor is a 400. */ startingAfter?: string | undefined; /** * Only return interns in this workspace. It must match the API key workspace. */ workspaceId?: string | undefined; }; /** @internal */ export declare const Status$outboundSchema: z.ZodType; /** @internal */ export type ListInternsRequest$Outbound = { "HTTP-Referer"?: string | undefined; appTitle?: string | undefined; appCategories?: string | undefined; limit?: number | undefined; status?: Array | undefined; starting_after?: string | undefined; workspace_id?: string | undefined; }; /** @internal */ export declare const ListInternsRequest$outboundSchema: z.ZodType; export declare function listInternsRequestToJSON(listInternsRequest: ListInternsRequest): string; //# sourceMappingURL=listinterns.d.ts.map