/**
* CollaboratorList Component
* Displays list of collaborators with permission management
*/
import React from 'react';
import type { Collaborator, ShareRole } from '@materi.ai/frame/hooks';
export interface CollaboratorListProps {
/**
* List of collaborators
*/
collaborators: Collaborator[];
/**
* Current user ID (to identify self)
*/
currentUserId: string;
/**
* Whether the current user can manage collaborators
*/
canManage: boolean;
/**
* Callback when permission is updated
*/
onUpdatePermission: (userId: string, role: ShareRole) => void;
/**
* Callback when collaborator is removed
*/
onRemove: (userId: string) => void;
/**
* Whether operations are loading
*/
isLoading?: boolean;
}
/**
* CollaboratorList component for displaying and managing collaborators
*
* @example
* ```tsx
*
* ```
*/
export declare const CollaboratorList: React.FC;
export default CollaboratorList;
//# sourceMappingURL=CollaboratorList.d.ts.map