import type { KlawConfig } from "../config/types.klaw.js";
import type { PluginMetadataSnapshot } from "./plugin-metadata-snapshot.types.js";
import type { PluginRegistry } from "./registry-types.js";
type CapabilityProviderRegistryKey = "memoryEmbeddingProviders" | "speechProviders" | "realtimeTranscriptionProviders" | "realtimeVoiceProviders" | "mediaUnderstandingProviders" | "imageGenerationProviders" | "videoGenerationProviders" | "musicGenerationProviders";
type CapabilityProviderForKey<K extends CapabilityProviderRegistryKey> = PluginRegistry[K][number] extends {
    provider: infer T;
} ? T : never;
export declare function loadCapabilityManifestSnapshot(params: {
    cfg?: KlawConfig;
    workspaceDir?: string;
}): Pick<PluginMetadataSnapshot, "index" | "plugins">;
export declare function resolveManifestCapabilityProviderIds(params: {
    key: CapabilityProviderRegistryKey;
    cfg?: KlawConfig;
    workspaceDir?: string;
}): string[];
export declare function resolveBundledCapabilityProviderIds(params: {
    key: CapabilityProviderRegistryKey;
    cfg?: KlawConfig;
    workspaceDir?: string;
}): string[];
export declare function resolvePluginCapabilityProvider<K extends CapabilityProviderRegistryKey>(params: {
    key: K;
    providerId: string;
    cfg?: KlawConfig;
}): CapabilityProviderForKey<K> | undefined;
export declare function resolvePluginCapabilityProviders<K extends CapabilityProviderRegistryKey>(params: {
    key: K;
    cfg?: KlawConfig;
}): CapabilityProviderForKey<K>[];
export {};
