import { type RefObject } from 'react'; import { type LinkingOptions, getStateFromPath as getStateFromPathDefault, type NavigationContainerRef, type ParamListBase } from '../react-navigation/native'; 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: 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