export declare class SparkleYoutube {
  el: HTMLElement;
  src: string;
  width: number;
  height: number;
  frameTitle: string;
  allowFullscreen: boolean;
  instant: boolean;
  private loading;
  private loaded;
  componentWillLoad(): Promise<void>;
  componentDidLoad(): Promise<void>;
  updateIFrame(width: number, height: number): Promise<void>;
  lazyLoadContent(): Promise<void>;
  onSrcUpdate(): Promise<void>;
  play(): Promise<void>;
  pause(): Promise<void>;
  private addPreconnectLink;
  private createIFrame;
  private setAttributeNode;
  private formatSrc;
  private findVideoId;
  private playPauseVideo;
  render(): any;
}
