/** * `NoteShareDialog` — generic-sharing dialog for a VibecontrolsNote. * * Distinct from the legacy `onShare` handler on `NoteCard`, which only toggles a * note's PRIVATE/WORKSPACE visibility. This dialog drives the full * user/link/vibe sharing flow via {@link useNoteShareController}. It is rendered * once at the panel level with the currently-selected note; pass `note={null}` * to keep it closed. * * Gating (RBAC permission + the `vibecontrols.sharing.note` flag, default ON) is * applied by the caller via {@link SHARE_REGISTRY}; this component assumes it is * only mounted when sharing is permitted. */ export interface NoteShareDialogProps { note: { id: string; title: string; vibeId?: string | null; }; open: boolean; onOpenChange: (open: boolean) => void; } export declare function NoteShareDialog({ note, open, onOpenChange }: NoteShareDialogProps): import('react').JSX.Element;