import type { AnimationBuilder, RouterDirection } from '@familyjs/core/components'; import React from 'react'; import type { RouteInfo } from '../models'; export interface NavContextState { getFmlRoute: () => any; getFmlRedirect: () => any; getPageManager: () => any; getStackManager: () => any; goBack: (route?: string | RouteInfo, animationBuilder?: AnimationBuilder) => void; navigate: (path: string, direction?: RouterDirection | 'none', fmlRouteAction?: 'push' | 'replace' | 'pop', animationBuilder?: AnimationBuilder, options?: any, tab?: string) => void; hasFamilyRouter: () => boolean; routeInfo?: RouteInfo; setCurrentTab: (tab: string, routeInfo: RouteInfo) => void; changeTab: (tab: string, path: string, routeOptions?: any) => void; resetTab: (tab: string, originalHref: string, originalRouteOptions?: any) => void; } export declare const NavContext: React.Context;