import { EmbedElem, GetEmbedProvider, OEmbedProvider, OEmbedProviderEndpoint, OEmbedVideo, ProviderOptions } from './types'; /** * Factory function which returns a method to get OEmbedProviderEndpoint for * specified url, so we could pass it to Embed ArenaNode * @param providers OEmbedProvider[] * @param opts optional ProviderOptions[] * @returns (url: string): GetEmbedProviderResult | undefined */ export declare const providerGetter: (providers: OEmbedProvider[], opts?: ProviderOptions[] | undefined) => GetEmbedProvider; /** * Construct url according to https://oembed.com to fetch embed * @param endpoint OEmbedProviderEndpoint * @param url string - url of the shared resource (post, video, etc...) to embed * @param opts optional ProviderOptions * @returns string */ export declare const getEmbedUrl: (endpoint: OEmbedProviderEndpoint, url: string, opts?: ProviderOptions | undefined) => string; export declare const fetchEmbedData: (url: string) => Promise; /** * This function processes html field of the response from provider endpoint * e.g. https://oembed.com/#section5 * The html string can contain