import { EventEmitter } from '../../stencil-public-runtime';
export declare type ShareOptions = {
  description: string;
};
export declare type Share = {
  options: ShareOptions;
  historyItemIds: string[];
  generateShareUrl: Promise<string>;
};
export declare class GdUserDashboardShareDialog {
  /**
   * the history items to share
   */
  historyItemIds: string[];
  /**
   * when to show the dialog
   */
  show: boolean;
  /**
   * event emitted when the dialog is closed
   */
  closed: EventEmitter<void>;
  /**
   * event emitted to share items
   */
  share: EventEmitter<Share>;
  /**
   * a set of options that will be used to share the history items
   */
  shareOptions: ShareOptions;
  /**
   * the generated share URL
   */
  shareUrl: string;
  /**
   * a visual state to show loading
   */
  working: boolean;
  copiedToClipboard: boolean;
  showErrors: boolean;
  el: HTMLElement;
  shareUrlEl: any;
  setShareOptions(): void;
  handleChange(event: any): void;
  handleClose(): void;
  shareItems(): Promise<void>;
  copyShareUrlToClipboard(): void;
  /**
   * renders the dialog
   */
  render(): any;
}
