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;
  /**
   * event emitted when the dialog is closed
   */
  closed: EventEmitter<void>;
  /**
   * event emitted to export items
   */
  export: EventEmitter<Export>;
  /**
   * 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;
  /**
   * renders the dialog
   */
  render(): any;
}
