import { type RouteKitPlatform } from "@velum-labs/routekit-runtime/effect"; import { Effect } from "effect"; import type { BackendRequest, BackendRequestOptions } from "../providers/backend.js"; import type { DiscoveredModel, ProviderId, ProviderSource } from "../index.js"; type TestProviderSourceOptions = { readonly sourceId: ProviderId; readonly discoverModels: (signal?: AbortSignal) => Effect.Effect; readonly chat?: (body: unknown, signal?: AbortSignal, options?: BackendRequestOptions) => BackendRequest; readonly embeddings?: (body: unknown, signal?: AbortSignal, options?: BackendRequestOptions) => BackendRequest; readonly responses?: Readonly<{ supports(model: string): boolean; execute(body: unknown, signal?: AbortSignal, options?: BackendRequestOptions): BackendRequest; }>; readonly capabilities?: ProviderSource["capabilities"]; readonly close?: () => Promise | void; }; export declare function testProviderSource(options: TestProviderSourceOptions): ProviderSource; export {};