/** * synap providers * * Discover and configure AI providers from the connected pod. * * synap providers list — show available providers on the pod * synap providers pull [--target] — write provider config to a local tool */ import type { ProviderInfo } from "../lib/targets.js"; export interface PodProvider extends ProviderInfo { baseUrl: string; enabled: boolean; priority: number; tags: string[]; } /** * Fetch enabled providers (model IDs only, no keys) from the pod. * Used for display / listing. */ export declare function fetchPodProviders(podUrl: string, apiKey: string): Promise; /** * Fetch enabled providers WITH decrypted API keys from the pod vault. * The pod resolves: user-level override > workspace > pod-wide key. * Used by local tool installers (opencode, aider, etc.) that need real keys. */ export declare function fetchPodCredentials(podUrl: string, apiKey: string, workspaceId?: string): Promise>; export declare function providersList(opts: { json?: boolean; podUrl?: string; apiKey?: string; }): Promise; export declare function providersPull(opts: { target?: string; podUrl?: string; apiKey?: string; }): Promise;