import { Alerts } from "./Alerts"; import { Handlers } from "./Handlers"; import { Uploader } from "./Uploader"; declare global { interface Hood { alerts: Alerts; uploader: Uploader; handlers: Handlers; } interface Window { hood: Hood; } } /** * Base class for extending a Hood CMS website, ensure you call HoodApi.initialise() to setup loaders and contact form defaults. */ export declare class HoodApi { alerts: Alerts; handlers: Handlers; uploader: Uploader; constructor(); initialise(): void; /** * Default Hood CMS loaders, can be used however, this simply adds a "loading" class to the body tag on show/hide. */ setupLoaders(): void; /** * Default initialisation function for Google Maps, should be called as the callback from the Google Maps API script tag. */ initGoogleMaps(tag?: string): void; /** * Initialisation function for contact forms on the site, will add validator, and submit/functionality to any forms matching the given tag selector string. */ initContactForms(tag?: string): void; }