import type { CommandNode, Group } from "../../toolcraft/dist/index.js"; import type { AuthProvider, TokenSource } from "./auth/types.js"; export interface OpenApiClientServices { baseUrl: string; tokenSource: TokenSource; } export interface DefineClientOptions> { name: string; baseUrl: string; auth: AuthProvider; commands: CommandNode[]; handwrittenCommands?: CommandNode[]; } export interface DefinedClient> { name: string; mcpPrefix: string; root: Group; services: OpenApiClientServices; } export declare function defineClient>(options: DefineClientOptions): DefinedClient;