import type { Dispatch, SetStateAction } from "react";
import type { RouterOutputs } from '../../../../trpc/react';
interface Props {
    team: NonNullable<RouterOutputs["viewer"]["teams"]["get"]>;
    isOrgAdminOrOwner: boolean | undefined;
    setShowMemberInvitationModal: Dispatch<SetStateAction<boolean>>;
}
export type User = RouterOutputs["viewer"]["teams"]["listMembers"]["members"][number];
type Payload = {
    showModal: boolean;
    user?: User;
};
export type State = {
    deleteMember: Payload;
    impersonateMember: Payload;
    editSheet: Payload;
    teamAvailability: Payload;
};
export type Action = {
    type: "SET_DELETE_ID" | "SET_IMPERSONATE_ID" | "EDIT_USER_SHEET" | "TEAM_AVAILABILITY" | "INVITE_MEMBER";
    payload: Payload;
} | {
    type: "CLOSE_MODAL";
};
interface Props {
    team: NonNullable<RouterOutputs["viewer"]["teams"]["get"]>;
    isOrgAdminOrOwner: boolean | undefined;
    setShowMemberInvitationModal: Dispatch<SetStateAction<boolean>>;
}
export default function MemberList(props: Props): JSX.Element;
export {};
//# sourceMappingURL=MemberList.d.ts.map