/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
export declare const STUDIO_TEAM_API_PATH = "/api/settings/team";
export declare const STUDIO_TEAM_MEMBERS_API_PATH = "/api/settings/team/members";
export declare const STUDIO_TEAM_MEMBER_ROUTE_PATTERN = "/api/settings/team/members/:memberId";
export declare function studioTeamMemberApiPath(memberId: string): string;
export type TeamAccessMode = "single-user" | "managed";
export type TeamMemberRole = "owner" | "admin" | "member";
export type TeamMemberStatus = "active" | "invited" | "disabled";
export type TeamMemberSource = "local-auth" | "backend";
export interface TeamMember {
    id: string;
    displayName: string;
    email: string | null;
    role: TeamMemberRole;
    status: TeamMemberStatus;
    source: TeamMemberSource;
    createdAt: string | null;
    lastSeenAt: string | null;
}
export interface TeamAccessSettings {
    mode: TeamAccessMode;
    members: TeamMember[];
    currentUserId: string | null;
    canInviteMembers: boolean;
    canUpdateMembers: boolean;
    canRemoveMembers: boolean;
    message: string | null;
}
export interface TeamAccessResponse {
    settings: TeamAccessSettings;
}
export interface TeamInviteInput {
    email: string;
    role: TeamMemberRole;
}
export interface TeamMemberUpdateInput {
    role: TeamMemberRole;
}
export declare function parseTeamMemberRole(value: unknown): TeamMemberRole | null;
export declare function normalizeTeamInviteEmail(value: string): string | null;
