import { ANIMATION_DELAY } from '../consts/animation'; export { ANIMATION_DELAY }; /** * @param isInitialStep utilizes the old scale-in for initial display. Based on this boolean and animation state. * @returns className to be applied on the animatable content */ export declare const getContentAnimation: ({ isOut, isReversed, isSkipped }: AnimationState, isInitialStep?: boolean) => string | undefined; interface AnimatedNavigationResponse { animation: AnimationState; navigateTo: (page: T, params?: AnimationParams) => void; animate: (callback: () => void, params?: AnimationParams) => void; } /** * Logic for easier animations during navigation * @param callback - Called when utilizing the navigateTo function. Without providing it the navigateTo function will not work * animate is a more generic version of navigateTo that can be used if the callback is not known during hook initialization. Or if it differs. */ export declare function useAnimatedNavigation(callback: ((page: T) => void) | undefined): AnimatedNavigationResponse; interface AnimationParams { reverse?: boolean; skip?: boolean; } export interface AnimationState { isOut: boolean; isSkipped: boolean; isReversed: boolean; }