import { WindowHapiService } from "../_window/service.types"; import { WindowHapiModuleWithConstructorArgs } from "../_window"; import { HAPIDomEventTriggeredEventSerializable, HAPIDOMEventTriggeredEventType, HapiUIIconConfig, HAPIUIScrollPosition } from "./types"; export type WindowHapiServiceUI = WindowHapiModuleWithConstructorArgs<{ onIframeLoaded: (callback: (iframeName: string) => void) => string; onIframeUnloaded: (callback: (iframeName: string) => void) => string; setStyleAttribute: (selector: string, attributeName: string, attributeValue: any) => Promise; setAttribute: (selector: string, attributeName: string, attributeValue: string) => Promise; setStyle: (selector: string, style: Record) => Promise; addClass: (selector: string, className: string) => Promise; removeClass: (selector: string, className: string) => Promise; addStyleSheet: (idWithoutPoundSign: string, stylesheetStr: string) => Promise; removeStyleSheet: (idWithoutPoundSign: string) => Promise; appendChildToSlot: (slotId: string, element: HTMLElement) => Promise; removeChildFromSlot: (slotId: string, elementSelector: string) => Promise; hideElement: (elementSelector: string) => Promise; hideElements: (elementSelectors: string[]) => Promise; showElement: (elementSelector: string) => Promise; showElements: (elementSelectors: string[]) => Promise; addClasses: (operations: Array<{ selector: string; className: string; }>) => Promise; removeClasses: (operations: Array<{ selector: string; className: string; }>) => Promise; setAttributes: (operations: Array<{ selector: string; attributeName: string; attributeValue: string; }>) => Promise; setStyles: (operations: Array<{ selector: string; style: Record; }>) => Promise; setStyleAttributes: (operations: Array<{ selector: string; attributeName: string; attributeValue: any; }>) => Promise; changeIcons: (configs: HapiUIIconConfig[]) => Promise; scrollTo: (iframeName: string, elementSelector: string, scrollToOptions: ScrollToOptions) => Promise; getScrollPosition: (iframeName: string, elementSelector: string) => Promise; onDOMEvent: (elementSelector: string, eventName: HAPIDOMEventTriggeredEventType, callback: (event: HAPIDomEventTriggeredEventSerializable) => void) => string; }, { readonly service: WindowHapiService; }>; //# sourceMappingURL=service.types.d.ts.map