/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
import type { TeamAccessSettings, TeamInviteInput, TeamMemberUpdateInput } from "./team-shape.js";
export type { TeamAccessMode, TeamAccessResponse, TeamAccessSettings, TeamInviteInput, TeamMember, TeamMemberRole, TeamMemberSource, TeamMemberStatus, TeamMemberUpdateInput, } from "./team-shape.js";
export interface TeamBackend {
    getTeamAccess(req: Request): Promise<TeamAccessSettings>;
    inviteMember?(req: Request, input: TeamInviteInput): Promise<TeamAccessSettings>;
    updateMember?(req: Request, memberId: string, input: TeamMemberUpdateInput): Promise<TeamAccessSettings>;
    removeMember?(req: Request, memberId: string): Promise<TeamAccessSettings>;
}
export declare function getTeamBackend(): TeamBackend;
export declare function setTeamBackend(backend: TeamBackend | null): void;
