import { LinkingOptions, getStateFromPath as getStateFromPathDefault, type NavigationContainerRef, type ParamListBase } from '@react-navigation/native'; import * as React from 'react'; type ResultState = ReturnType; /** * Run async function in series as it's called. */ export declare const series: (cb: () => Promise) => () => void; type Options = LinkingOptions; export declare function useLinking(ref: React.RefObject | null>, { enabled, config, getStateFromPath, getPathFromState, getActionFromState, }: Options, onUnhandledLinking: (lastUnhandledLining: string | undefined) => void): { getInitialState: () => PromiseLike; }; export declare function getInitialURLWithTimeout(): string | null | Promise; export {}; //# sourceMappingURL=useLinking.d.ts.map