import type { ProviderPackage } from "../../core/types.js"; /** * TokenRouter: one OpenAI-compatible endpoint in front of many upstreams. * * Stock senpi has no `tokenrouter` provider, so `/login` cannot offer it and the * models are unreachable however the key is stored. Registering the provider id * here is what puts TokenRouter in the `/login` list — that is the whole gap * this package fills. * * There is no account pool: TokenRouter meters one account and rotating keys * would buy nothing, so this is a single-credential provider like stock's * `opencode-go`. That also means no affinity, no failover and no usage cache — * adding them would be machinery with nothing to schedule. */ export declare const TOKENROUTER_PROVIDER_ID = "tokenrouter"; export declare const TOKENROUTER_BASE_URL = "https://api.tokenrouter.com/v1"; export { TOKENROUTER_MODELS, resolveTokenRouterModels, type TokenRouterModel } from "./models.js"; export declare function tokenrouterProviderPackage(): ProviderPackage;