import { Animation, NavOptions } from '../interface'; export declare const LIFECYCLE_WILL_ENTER = "ionViewWillEnter"; export declare const LIFECYCLE_DID_ENTER = "ionViewDidEnter"; export declare const LIFECYCLE_WILL_LEAVE = "ionViewWillLeave"; export declare const LIFECYCLE_DID_LEAVE = "ionViewDidLeave"; export declare const LIFECYCLE_WILL_UNLOAD = "ionViewWillUnload"; export declare type LuAnimationInterface = (((navEl: HTMLElement, opts: TransitionOptions) => Animation) | ((navEl: HTMLElement, opts: TransitionOptions) => Promise)); export declare const transition: (opts: TransitionOptions) => Promise; export declare const lifecycle: (el: HTMLElement, eventName: string) => void; export declare const deepReady: (el: any) => Promise; export declare const setPageHidden: (el: HTMLElement, hidden: boolean) => void; export interface TransitionOptions extends NavOptions { progressCallback?: ((ani: Animation | Animation | undefined) => void); baseEl: any; enteringEl: HTMLElement; leavingEl: HTMLElement | undefined; } export interface TransitionResult { hasCompleted: boolean; animation?: Animation | Animation; }