/** * `VibeShareButton` — the Share affordance for a Vibe detail page. * * Self-contained: it owns the open/close state, builds the share controller via * {@link useVibeShareController}, and renders the generic fe-libs * ``. Visibility is gated by the `vibe` entry in * {@link SHARE_REGISTRY} (RBAC permission + the `vibecontrols.sharing.vibe` * feature flag, which defaults ON). Hooks run unconditionally; the component * returns `null` only after the flag check so React hook ordering stays stable. */ export interface VibeShareButtonProps { vibe: { id: string; name: string; }; /** Localized button label + tooltip. */ label: string; /** Show the text label alongside the icon (defaults to icon-only on small screens). */ showLabel?: boolean; } export declare function VibeShareButton({ vibe, label, showLabel }: VibeShareButtonProps): import('react').JSX.Element | null;