import type { EmbedAspectRatio, EmbedProvider, EmbedProviderType, ProviderConfig } from '../types'; export declare const PROVIDER_CONFIGS: ProviderConfig[]; export declare function getProviderConfig(type: EmbedProviderType): ProviderConfig | undefined; /** * Detect provider type from URL */ export declare function detectProvider(url: string): EmbedProviderType; /** * Check if URL is a valid embed URL */ export declare function isEmbedUrl(url: string): boolean; /** * Parse URL and extract provider info */ export declare function parseEmbedUrl(url: string): EmbedProvider | null; /** * Get aspect ratio for provider */ export declare function getProviderAspectRatio(type: EmbedProviderType): EmbedAspectRatio; /** * Calculate dimensions based on aspect ratio and max width */ export declare function calculateEmbedDimensions(type: EmbedProviderType, maxWidth?: number): { width: number; height: number; }; /** * Get oEmbed URL for provider */ export declare function getOEmbedUrl(url: string): string | null; /** * Get list of supported providers for display */ export declare function getSupportedProviders(): { type: EmbedProviderType; name: string; }[]; export declare const getProvider: typeof detectProvider; export declare const ProviderGetters: Record string | null>; //# sourceMappingURL=providers.d.ts.map