import { type Context } from "react"; /** * Context for Link component to provide its destination URL * Used by useLinkStatus to determine if this specific link is pending */ export declare const LinkContext: Context; /** * Link status returned by useLinkStatus hook */ export interface LinkStatus { /** Whether navigation to this link's destination is in progress */ pending: boolean; } /** * Hook to track the pending state of a Link component * * Must be used inside a Link component. Returns `{ pending: true }` * when navigation to this link's destination is in progress. * * Useful for showing inline loading indicators on individual links. * * @example * ```tsx * function LoadingIndicator() { * const { pending } = useLinkStatus(); * return pending ? : null; * } * * // In your component: * * Dashboard * * * ``` */ export declare function useLinkStatus(): LinkStatus; //# sourceMappingURL=use-link-status.d.ts.map