import { Step } from "@fireenjin/components/dist/types/typings"; export declare class BookFlow { index: any; algoliaAppId: string; algoliaSearchKey: string; algoliaIndex: string; /** * The current path of the flow they are in */ currentPath: string; /** * The current step of the path they are on */ currentStep: string; /** * Is the user referring? */ referring: boolean; /** * The ID of the referring user */ referralId: string; /** * The ID of the location */ locationId: string; /** * The campaign or API token */ token: string; /** * The Google Maps API Key */ googleMapsKey: any; /** * The phone number captured in the flow */ phone: string; /** * The name of the customer captured in the flow */ customer: string; /** * The service address captured in the flow */ address: any; /** * The ID of the job from Flood Team App */ confirmationId: string; /** * Any errors captured from the flow */ errors: string[]; /** * The current steps on the path selected */ steps: Step[]; /** * The index of the current slide (step) on the path */ currentSlideIndex: number; /** * The location selected */ location: any; paths: { [pathName: string]: () => Step[]; }; findLocation(id: string): Promise; /** * Set the path of the flow * @param path The path name to change to * @returns A list of steps for the current path */ setPath(path?: string): Promise; onError(event: any): void; onChange(event: any): Promise; onSuccess(event: any): Promise; onSlideChange(event: any): Promise; onBeforeSubmit(data: any): any; componentDidLoad(): Promise; render(): any; }