/** * Shared "call this agent" snippets — the single source for the code shown in * the agent Run dialog AND the onboarding "call it via API" step (DRY). Given a * tenant base URL + agent + a chat message or a task, it builds curl / SDK / * Python / coding-agent snippets for the OpenAI-compatible data-plane API. */ export type CallLang = "curl" | "ts" | "python" | "agent"; export declare const CALL_LANGS: { id: CallLang; label: string; }[]; /** Tenant data-plane base URL — mirrors settings' `tenantApiUrl(slug)`. */ export declare function tenantBase(slug?: string): string; export type CallSnippetInput = { base: string; agentName: string; /** true = streaming chat (`/v1/chat/completions`), false = background task. */ streaming: boolean; message: string; taskTitle: string; taskDesc: string; }; export type CallSnippets = { curl: string; ts: string; python: string; agentPrompt: string; /** Resolve a language to `{ code, codeLang }` for a . */ pick: (lang: CallLang) => { code: string; codeLang: string; }; }; export declare function buildCallSnippets(i: CallSnippetInput): CallSnippets; //# sourceMappingURL=agent-call-snippets.d.ts.map