import type { InlineChip } from '@renderer/types/inlineChip';
import type { EffortLevel, TeamProviderId } from '@shared/types';

export interface MemberDraft {
  id: string;
  name: string;
  originalName?: string;
  roleSelection: string;
  customRole: string;
  workflow?: string;
  workflowChips?: InlineChip[];
  isolation?: 'worktree';
  providerId?: TeamProviderId;
  model?: string;
  effort?: EffortLevel;
  removedAt?: number | string | null;
}

export interface MembersEditorValue {
  members: MemberDraft[];
}
