import { SugaredFieldProps } from '@contember/binding';
import { ReactNode } from 'react';
import type { SugaredDiscriminateBy } from '../../../../discrimination';
import type { EmbedHandler, PopulateEmbedDataOptions } from '../core';
declare class YouTubeEmbedHandler implements EmbedHandler<string> {
    private readonly options;
    readonly debugName = "YouTube";
    readonly discriminateBy: SugaredDiscriminateBy;
    constructor(options: YouTubeEmbedHandler.Options);
    staticRender(): JSX.Element;
    handleSource(source: string, url: URL | undefined): undefined | string;
    renderEmbed(): ReactNode;
    populateEmbedData({ entity, embedArtifacts }: PopulateEmbedDataOptions<string>): void;
}
declare namespace YouTubeEmbedHandler {
    interface Options {
        render?: () => ReactNode;
        youTubeIdField: SugaredFieldProps['field'];
        discriminateBy: SugaredDiscriminateBy;
    }
    interface RendererOptions {
        youTubeIdField: SugaredFieldProps['field'];
    }
    const Renderer: import("react").NamedExoticComponent<RendererOptions>;
}
export { YouTubeEmbedHandler };
//# sourceMappingURL=YouTubeEmbedHandler.d.ts.map