import type { Capability } from "./types.js"; import { AbilityProviderRegistry, type AbilityProvider, type AbilitySourceKind } from "./need.js"; export type ProviderConfig = { providers?: Array<{ type: "mcp"; id: string; command: string; args?: string[]; namespace?: string; version?: string; effectsComplete?: boolean; priority?: number; trusted?: boolean; } | { type: "openapi"; id: string; source: string; namespace?: string; baseUrl?: string; headers?: Record; priority?: number; trusted?: boolean; }>; }; export type LoadedProviderRegistry = { registry: AbilityProviderRegistry; sources: { id: string; type: "mcp" | "openapi"; abilities: number; }[]; close(): Promise; }; export declare function expandProviderEnvironment(value: unknown, env?: NodeJS.ProcessEnv): unknown; export declare function abilityProviderFromCapabilities(options: { id: string; kind: Exclude; description: string; priority?: number; trusted?: boolean; capabilities: readonly Capability[]; close?: () => void | Promise; }): AbilityProvider; export declare function loadProviderConfig(path?: string): Promise; export declare function providerConfigTemplate(): ProviderConfig; //# sourceMappingURL=providers.d.ts.map