import { EventEmitter } from '../../stencil-public-runtime';
export declare type ExportOptions = {
  filename: string;
  shareLabel: string;
};
export declare type Export = {
  options: ExportOptions;
  historyItemIds: string[];
};
export declare class GdUserDashboardExportDialog {
  /**
   * the history items to export
   */
  historyItemIds: string[];
  /**
   * when to show the dialog
   */
  show: boolean;
  /**
   * if the share as url functionality should be available or not
   */
  canShareAsUrl: boolean;
  /**
   * if the user is allowed to share as url (canShareAsUrl), this is used to determine
   * when to show the download export form
   */
  showExportForm: boolean;
  /**
   * event emitted when the dialog is closed
   */
  closed: EventEmitter<void>;
  /**
   * event emitted to export items
   */
  export: EventEmitter<Export>;
  /**
   * event emitted when user chooses to share items instead of export
   */
  share: EventEmitter<void>;
  /**
   * a set of options that will be used to export the history items
   */
  exportOptions: ExportOptions;
  /**
   * a visual state to show loading in the export button
   */
  exporting: boolean;
  showErrors: boolean;
  el: HTMLElement;
  setExportOptions(): void;
  handleChange(event: any): void;
  handleClose(): void;
  exportItems(): void;
  /**
   * if the user can share items as URL and chooses to, fire an event to switch to the share dialog
   */
  switchToShareDialog(): void;
  /**
   * renders the dialog
   */
  render(): any;
}
