/** * Generated open API providers — loaded from src/registry/generated-providers.json. * * This file is the runtime adapter that turns the static JSON artifact * produced by scripts/pipeline/generate_providers.py into OpenAPIConfig * instances. Manual providers in open-apis.ts always take precedence; this * loader only adds providers whose ids don't already exist. * * Path templating uses simple {var} substitution from params; remaining * params with `in: query` get appended to the query string. */ import type { OpenAPIConfig } from './open-apis.js'; interface GeneratedActionParam { name: string; in: 'path' | 'query' | 'header' | 'body' | string; required?: boolean; type?: string; } interface GeneratedAction { method: 'GET' | 'POST'; pathTemplate: string; operationId?: string; summary?: string; params?: GeneratedActionParam[]; requiresAuth?: boolean; } interface GeneratedProvider { id: string; name: string; description: string; baseUrl: string; host: string; source: string; sourceUrl: string; callable: boolean; matchKind: string; matchConfidence: number; actionCount: number; actions: Record; } /** * Build the registry of generated providers ready to merge into openAPIs. * Only providers marked callable=true are returned by default; pass * { includeCandidates: true } to surface auth-gated entries as well. */ export declare function loadGeneratedProviders(opts?: { includeCandidates?: boolean; }): Record; export declare function getGeneratedArtifactStats(): { providerCount: number; callableCount: number; generatedAt: number; }; export declare function getGeneratedProviderMeta(id: string): GeneratedProvider | undefined; export {}; //# sourceMappingURL=open-apis-generated.d.ts.map