import { type RefObject } from 'react'; import { type LinkingOptions, type NavigationContainerRef, type ParamListBase } from '../react-navigation/native'; type Options = LinkingOptions; export declare function useLinking(_ref: RefObject | null>, { prefixes, config, getInitialURL, getStateFromPath, }: Options): { getInitialState: () => Readonly<{ key: string; routeKeySeq: number; index: number; routeNames: string[]; history?: unknown[]; routes: import("../react-navigation").NavigationRoute[]; type?: string; stale: false; }> | Promise[]; type?: string; stale: false; }> | undefined> | undefined; }; export declare function getInitialURLWithTimeout(): string | null | Promise; export {};