import type { OEmbedInfo } from '@prezly/sdk'; import type { Extension } from '@prezly/slate-commons'; import type { InfoText } from '../../components'; interface Parameters extends EmbedExtensionConfiguration { availableWidth: number; } export declare const EXTENSION_ID = "EmbedExtension"; export interface EmbedExtensionConfiguration { allowHtmlInjection?: boolean; allowScreenshots?: boolean; fetchOembed: (url: OEmbedInfo['url']) => Promise; info?: InfoText.StructuredContent; withMenu?: boolean; withLayoutControls?: boolean; withConversionOptions?: boolean; } export declare const EmbedExtension: ({ allowHtmlInjection, allowScreenshots, availableWidth, info, withMenu, withLayoutControls, withConversionOptions, }: Parameters) => Extension; export {};