import { type ParamListBase } from '@react-native-bedrock/native/@react-navigation/native'; import { NativeStackNavigationProp } from '@react-native-bedrock/native/@react-navigation/native-stack'; import { defaultParserParams } from './utils/defaultParserParams'; export interface BedrockRouteOptions> { parserParams?: (params: Record) => Record; validateParams?: (params: Readonly) => T; component: React.FC; } export type BedrockNavigationProps = NativeStackNavigationProp; export interface RegisterScreen { } export declare function useNavigation(): BedrockNavigationProps; export type BedrockRouteHooksOptions = { from: TScreen; strict?: true; } | { strict: false; from?: never; }; export declare const routeMap: Map<"/test", { options: Omit, "component">; component: React.FC; }>; export declare function useMatchOptions(options: BedrockRouteHooksOptions): { parserParams: ((params: Record) => Record) | typeof defaultParserParams; validateParams?: ((params: Readonly) => any) | undefined; } | null; export declare function useParams(options: { from: TScreen; strict?: true; }): RegisterScreen[TScreen]; export declare function useParams(options: { strict: false; }): Readonly; export declare const BedrockRoute: >(path: keyof RegisterScreen, options: BedrockRouteOptions) => { _path: "/test"; useNavigation: typeof useNavigation; useParams: () => T; };