import { AIGatewayName } from "@tailor-platform/sdk"; //#region src/vitest/mocks/aigateway.d.ts interface AigatewayCall { name: AIGatewayName; } /** Initial fixtures for an AI Gateway mock. */ export interface MockAigatewayOptions { /** AI Gateway URLs available when the mock is acquired. */ urls?: Partial>; } /** * Acquire a disposable mock for `tailor.aigateway`. Restored on dispose. * @param options - Initial AI Gateway URL fixtures * @returns Disposable AI Gateway mock control object * @example * ```typescript * import { mockAigateway } from "@tailor-platform/sdk/vitest"; * * test("resolves an AI Gateway URL", async () => { * using aigateway = mockAigateway({ * urls: { "my-aigateway": "https://my-aigateway.example.com" }, * }); * aigateway.setUrl("my-aigateway", "https://replacement.example.com"); * // … * }); * ``` */ export declare function mockAigateway(options?: MockAigatewayOptions): { /** The `get` `vi.fn`. */ get: import("vitest").Mock<(name: AIGatewayName) => Promise<{ url: string; }>>; setUrls(value: Partial>): void; setUrl(name: AIGatewayName, url: string): void; readonly calls: AigatewayCall[]; clear(): void; reset(): void; } & Disposable; //#endregion