import { FireEnjinFetchEvent } from "@fireenjin/sdk";
import { EventEmitter } from "../../stencil-public-runtime";
import { Service, Site, ScopeService } from "../../sdk";
export declare class FormScope {
  fuse: any;
  popoverEl: any;
  searchBarEl: HTMLIonSearchbarElement;
  fireenjinFetch: EventEmitter<FireEnjinFetchEvent>;
  jobId?: string;
  filter?: {
    tab?: string;
    status?: "bill" | "smart";
  };
  site: Site;
  query: string;
  sort: "name:asc" | "useCount:desc";
  services: Service[];
  servicesOnBill: string[];
  scopeToServiceMap: {
    [parentIdServiceId: string]: ScopeService;
  };
  sitesToServiceMap: {
    [serviceId: string]: Site[];
  };
  onSuccess(event: any): Promise<void>;
  onChange(event: any): Promise<void>;
  onTrigger(event: any): Promise<void>;
  getJob(): Promise<void>;
  removeService(event: Event, service: any): void;
  addService(service: Service, siteId: string): void;
  openServicePopover(event: any, service: any, currentExpanded?: string): Promise<any>;
  getServices(): Promise<void>;
  D: any;
  fetchData(): Promise<void>;
  componentDidLoad(): void;
  render(): any;
}
