import * as React from 'react'; import { type NavigationContainerRef, type ParamListBase } from '../core'; import type { LinkingOptions } from './types'; type Options = LinkingOptions; export declare function useLinking(ref: React.RefObject | null>, { 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(".").PartialRoute>[]; }> & { state?: Partial[]; type: string; stale: false; }>, "stale" | "routes">> & Readonly<{ stale?: true; routes: import(".").PartialRoute>[]; }> & /*elided*/ any; }) | undefined>; }; export {}; //# sourceMappingURL=useLinking.native.d.ts.map