import { AIGatewayName } from "@tailor-platform/sdk"; //#region src/runtime/aigateway.d.ts /** Result of {@link TailorAigatewayAPI.get}. */ export interface GetAIGatewayResult { /** The platform-assigned URL of the AI Gateway. */ url: string; } /** * Platform API surface for `tailor.aigateway`. Describes the shape the * platform runtime injects on `globalThis.tailor.aigateway`. */ export interface TailorAigatewayAPI { /** * Resolves an AI Gateway defined in the caller's own workspace. * @param name - AI Gateway name, as passed to `defineAIGateway()` * @returns The resolved AI Gateway's platform-assigned URL */ get(name: AIGatewayName): Promise; } /** Runtime wrapper namespace for `tailor.aigateway`. */ export declare const aigateway: { readonly get: (name: AIGatewayName) => Promise; }; //#endregion