/** * External dependencies */ import type { ReactNode } from 'react'; declare type NavigatorPathOptions = { isBack?: boolean; }; export declare type NavigatorPath = NavigatorPathOptions & { path?: string; }; export declare type NavigatorContext = [ NavigatorPath, (path: NavigatorPath) => void ]; export declare type Navigator = { push: (path: string, options: NavigatorPathOptions) => void; }; export declare type NavigatorProviderProps = { /** * The initial active path. */ initialPath: string; /** * The children elements. */ children: ReactNode; }; export declare type NavigatorScreenProps = { /** * The screen's path, matched against the current path stored in the navigator. */ path: string; /** * The children elements. */ children: ReactNode; }; export {}; //# sourceMappingURL=types.d.ts.map