import { ReactNode } from 'react'; import { UseProductDocsOptions } from '@burdenoff/fe-libs/shared/components'; /** * Contextual "Learn more" links from VibeControls pages to the matching page * of the VibeControls user guide (parity G91, the FluidGridsDocsLink twin). * * URLs come from fe-libs' environment-aware docs helper, so the alpha shell * links to `alphadocs.vibecontrols.com` and production to * `docs.vibecontrols.com`. The product is pinned to `vibecontrols`: the guide * these pages describe is always the VibeControls one, whichever shell hosts * them. * * Every path below is a page `vibecontrols-docs` publishes under `docs/users/`. * The docs site answers 404 for a page it does not have, and * VibeControlsDocsLink.test.tsx pins this table. */ export declare const VIBECONTROLS_DOCS_PATHS: { readonly gettingStarted: "/users/getting-started"; readonly installAgent: "/users/installing-the-agent"; readonly sessions: "/users/sessions-and-terminals"; readonly tunnels: "/users/port-forwarding-and-tunnels"; readonly vibedecks: "/users/vibedecks"; readonly plans: "/users/plans-and-quotas"; }; export type VibeControlsDocsTopic = keyof typeof VIBECONTROLS_DOCS_PATHS; /** The product whose user guide these links open. */ export declare const VIBECONTROLS_DOCS_PRODUCT = "vibecontrols"; type DocsEnvOptions = Pick; /** * The environment-correct user-guide URL for a topic, for callers that feed * an `href` prop (e.g. PagePurpose's `learnMoreHref`). Undefined when no * trusted docs host resolves — callers then render no link at all. */ export declare function useVibeControlsDocsUrl(topic: VibeControlsDocsTopic, options?: DocsEnvOptions): string | undefined; export interface VibeControlsDocsLinkProps extends DocsEnvOptions { /** Which page of the user guide to open. */ topic: VibeControlsDocsTopic; /** Link text; defaults to the translated "Learn more". */ children?: ReactNode; className?: string; /** Hide the book icon. */ hideIcon?: boolean; /** Guided-tour anchor for the link. */ 'data-tour'?: string; } /** * A new-tab link to a VibeControls user-guide page. When no trusted docs URL * resolves, fe-libs' DocsLink renders the text without a link, so a page * never shows a dead "Learn more". */ export declare function VibeControlsDocsLink({ topic, children, className, hideIcon, environment, registry, 'data-tour': dataTour, }: VibeControlsDocsLinkProps): import('react').JSX.Element; export {};