import { AnimationBuilder, Animation, ModalOptions, HTMLLuOverlayElement, OverlayInterface } from '../interface'; export declare type LuAnimationInterface = (baseEl: any, opts: any) => Animation; export declare const modalController: { create(options: ModalOptions): Promise; dismiss(data?: any, role?: string, id?: string): Promise; getTop(): Promise; }; export declare const prepareOverlay: (el: T) => void; export declare const createOverlay: (tagName: string, opts: object) => Promise; export declare const connectListeners: (doc: Document) => void; export declare const dismissOverlay: (doc: Document, data: any, role: string, overlayTag: string, id?: string) => Promise; export declare const getOverlays: (doc: Document, selector?: string) => HTMLLuOverlayElement[]; export declare const getOverlay: (doc: Document, overlayTag?: string, id?: string) => HTMLLuOverlayElement; export declare const present: (overlay: OverlayInterface, enterAnimation: AnimationBuilder | LuAnimationInterface, opts?: any) => Promise; export declare const dismiss: (overlay: OverlayInterface, data: any, role: string, leaveAnimation: AnimationBuilder | LuAnimationInterface, opts?: any) => Promise; export declare const eventMethod: (element: HTMLElement, eventName: string) => Promise; export declare const onceEvent: (element: HTMLElement, eventName: string, callback: (ev: Event) => void) => void; export declare const isCancel: (role: string) => boolean; export declare const BACKDROP = "backdrop";