import { GenericShareEntity } from './entityShareOps'; export interface EntityShareButtonProps { /** Which finishable entity is being shared. */ entity: GenericShareEntity; /** * Stable id of the resource row plus its display name, optional vibe linkage, * and (for owner-keyed entities like scorecard / docs that have no read-by-id * query) the `(ownerId, ownerType)` pair used to read existing grants. */ resource: { id: string; name: string; vibeId?: string | null; owner?: { ownerId: string; ownerType: string; } | null; }; /** Localized button label + tooltip. */ label: string; /** Visual style — compact icon (default) vs icon+label button. */ variant?: 'icon' | 'button'; } export declare function EntityShareButton({ entity, resource, label, variant, }: EntityShareButtonProps): import('react').JSX.Element | null;