import { FC } from 'react'; import { Session } from './types'; interface SessionShareDialogProps { session: Session; isOpen: boolean; onClose: () => void; } /** * SessionShareDialog — thin controlled wrapper around the generic fe-libs * `` for a terminal session. * * It previously hosted a bespoke share UI (legacy `shareSession` / * `createSessionShareLink` ops + `SessionShare` / `SessionShareLink` tables). * That bespoke surface was pure share-record management — it never drove * realtime collaboration. Live terminal control handoff + collaborator presence * live entirely in `SharedTerminalPanel` / `SharedSessionPage`, driven by the * session's collaborator list, NOT by this dialog. So the body has been * replaced with the richer generic dialog (email invite + accept-gate + four * visibility modes + expiry + public link) backed by the generic * `shareSessionGrant` grant mutations. * * The `{ session, isOpen, onClose }` controlled API is preserved so every * existing imperative trigger (command palette, keyboard shortcut, per-row * `onShare`) keeps opening this dialog unchanged — they now get the generic * surface for free. `session.vibeId` enables the "Everyone with Vibe" mode. */ export declare const SessionShareDialog: FC; export {};