import type { GroupId as PlatformGroupId, UserId as PlatformUserId } from "@osdk/foundry.core"; export type GroupId = PlatformGroupId & { __groupIdBrand?: void }; export type UserId = PlatformUserId & { __userIdBrand?: void }; export type Principal = { type: "user" id: string } | { type: "group" id: string };