import type { KlawConfig } from "../config/types.js";
import type { SpeechProviderPlugin } from "../plugins/types.js";
import type { SpeechProviderId } from "./provider-types.js";
export type SpeechProviderRegistryResolver = {
    getProvider: (providerId: string, cfg?: KlawConfig) => SpeechProviderPlugin | undefined;
    listProviders: (cfg?: KlawConfig) => SpeechProviderPlugin[];
};
export declare function normalizeSpeechProviderId(providerId: string | undefined): SpeechProviderId | undefined;
export declare function createSpeechProviderRegistry(resolver: SpeechProviderRegistryResolver): {
    canonicalizeSpeechProviderId: (providerId: string | undefined, cfg?: KlawConfig) => SpeechProviderId | undefined;
    getSpeechProvider: (providerId: string | undefined, cfg?: KlawConfig) => SpeechProviderPlugin | undefined;
    listSpeechProviders: (cfg?: KlawConfig) => SpeechProviderPlugin[];
};
