import { ProjectRole } from '../../../../../../packages/core/src/domain/generated/output.js';
import type { PmProjectMember } from '../../../../../../packages/core/src/domain/generated/output.js';
export interface ProjectMembersPanelProps {
    projectId: string;
    members: PmProjectMember[];
    currentUserId: string;
    onAddMember: (input: {
        projectId: string;
        userId: string;
        role: ProjectRole;
        actorId: string;
    }) => Promise<{
        member?: PmProjectMember;
        error?: string;
    }>;
    onRemoveMember: (input: {
        projectId: string;
        userId: string;
        actorId: string;
    }) => Promise<{
        error?: string;
    }>;
    onUpdateRole: (input: {
        projectId: string;
        userId: string;
        newRole: ProjectRole;
        actorId: string;
    }) => Promise<{
        error?: string;
    }>;
}
export declare function ProjectMembersPanel({ projectId, members: initialMembers, currentUserId, onAddMember, onRemoveMember, onUpdateRole, }: ProjectMembersPanelProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=project-members-panel.d.ts.map