/** * ShareButton Component * Button that triggers the ShareDialog for document sharing */ import React from 'react'; import type { ButtonSize, ButtonVariant } from '../../primitives/button/Button'; export interface ShareButtonProps { /** * Document ID to share */ documentId: string; /** * Document title (for display in dialog) */ documentTitle: string; /** * Current user ID */ currentUserId: string; /** * Whether the current user can manage sharing (owner/admin) */ canManage?: boolean; /** * Base URL for the API (e.g., "https://api.example.com/api/v1") */ apiBaseUrl?: string; /** * JWT access token for authentication */ authToken?: string; /** * Button size variant */ size?: ButtonSize; /** * Button visual variant */ variant?: ButtonVariant; /** * Whether to show the icon */ showIcon?: boolean; /** * Whether to show the label */ showLabel?: boolean; /** * Custom label text */ label?: string; /** * Additional CSS classes */ className?: string; /** * Whether the button is disabled */ disabled?: boolean; } /** * ShareButton component - trigger for sharing functionality * * @example * ```tsx * // Full button with icon and label * * * // Icon only (compact) * * ``` */ export declare const ShareButton: React.FC; export default ShareButton; //# sourceMappingURL=ShareButton.d.ts.map