import type { ConfirmationState } from "../../../../../frontend/src/metabase/hooks/use-confirmation";
import type { Member } from "../../../../../frontend/src/metabase-types/api";
import type { User } from "../../../../../frontend/src/metabase-types/api/user";
import type { AdminPath, AdminPathKey } from "../../../../../frontend/src/metabase-types/store";
import type { UserWithGroupManagerPermission } from "./types/user";
export declare const groupManagerAllowedPathGetter: (user?: UserWithGroupManagerPermission) => AdminPathKey[];
export declare const getRevokedAllGroupManagersPath: (adminPaths: AdminPath[]) => string;
export declare const getRevokeManagerPeopleRedirect: (currentUserMemberships: Member[], adminPaths: AdminPath[]) => string | null;
export declare const getRevokeManagerGroupsRedirect: (currentUserMemberships: Member[], adminPaths: AdminPath[]) => string;
export declare const getRemoveMembershipConfirmation: (currentUser: User, currentUserMemberships: Member[], deletedMembershipId: number) => Partial<ConfirmationState> | null;
export declare const getChangeMembershipConfirmation: (currentUser: User, updatedMembership: Member) => Partial<ConfirmationState> | null;
