import type { LinkComponent } from './c3-navigation-v2.types'; /** * Decide which element a clickable nav surface renders as based on the * caller's `linkProps`. * * Preference, in order: * 1. If `to` is set and the consumer has wired a `linkComponent`, render * through the consumer wrapper so client-side routing stays in effect. * 2. If `href` is set, render a plain `` so cross-origin / no-router * callers reload as expected and a router-aware Link does not try to * SPA-route to another domain. * 3. Otherwise (a `to`-only call with no `linkComponent`, or a bare * onClick), defer to the consumer's `linkComponent` or fall back to * the underlying element default. */ export declare const resolveLinkAs: (linkProps: Record | undefined, linkComponent?: LinkComponent) => LinkComponent | undefined;