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>, { enabled, prefixes, filter, config, getInitialURL, subscribe, getStateFromPath, getActionFromState, }: Options, onUnhandledLinking: (lastUnhandledLining: string | undefined) => void): { getInitialState: () => PromiseLike<(Partial[]; type: string; stale: false; }>, "stale" | "routes">> & Readonly<{ stale?: true; routes: import("../react-navigation").PartialRoute>[]; }> & { state?: Partial[]; type: string; stale: false; }>, "stale" | "routes">> & Readonly<{ stale?: true; routes: import("../react-navigation").PartialRoute>[]; }> & /*elided*/ any; }) | undefined>; }; export declare function getInitialURLWithTimeout(): string | null | Promise; export {}; //# sourceMappingURL=useLinking.native.d.ts.map