import { ComponentInterface, EventEmitter } from "../../../stencil-public-runtime";
import { Totaller } from "../../../sdk";
import { FireEnjinFetchEvent, FireEnjinSubmitEvent, FireEnjinTriggerInput } from "@fireenjin/sdk";
export declare class AppTotaller implements ComponentInterface {
  pathInputEl: HTMLIonInputElement;
  pathTypeInputEl: any;
  sumInputEl: HTMLIonInputElement;
  tabsEl: any;
  formEl: any;
  fireenjinFetch: EventEmitter<FireEnjinFetchEvent>;
  fireenjinSubmit: EventEmitter<FireEnjinSubmitEvent>;
  fireenjinTrigger: EventEmitter<FireEnjinTriggerInput>;
  totallerId: string;
  totaller: Partial<Totaller>;
  testTotals: any;
  totallerResults: {};
  totalsToView: {};
  totalsColor: {};
  totalsDocs: any[];
  graphLabels: any[];
  graphType: "line" | "pie" | "bar";
  graphDatasets: any[];
  currentTab: "setup" | "test" | "run" | "graph";
  onSuccess(event: any): Promise<void>;
  onChange(event: any): Promise<void>;
  randomNumber(): number;
  setGraphData(): void;
  randomColor(): string;
  removePath(event: any, removeIndex: string): void;
  removeSum(event: any, sumName: string): void;
  addPath(event: any): void;
  addSum(event: any): void;
  fetchTotaller(): Promise<void>;
  testAdd(): void;
  testSubtract(): void;
  testReset(): void;
  runTotaller(action?: "add" | "edit" | "delete"): void;
  runTotallerForPath(path: any, action?: "add" | "edit" | "delete"): any;
  sync(): Promise<any>;
  rerunTotals(): Promise<void>;
  viewResults(): Promise<void>;
  componentWillLoad(): void;
  componentDidLoad(): Promise<void>;
  render(): any[];
}
