import { getStateFromPath as getStateFromPathDefault, type NavigationContainerRef, type ParamListBase } from '@react-navigation/core'; import * as React from 'react'; import type { LinkingOptions } from './types.js'; 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): { getInitialState: () => PromiseLike; }; export {}; //# sourceMappingURL=useLinking.d.ts.map