import { type IUser, type IUserGroup } from "@gooddata/sdk-model";
export declare const useUserDetails: (user: IUser | undefined, isAdmin: boolean, onSubmit: (user: IUser, isAdmin: boolean) => void, onCancel: () => void, removeAdminGroup: () => void) => {
    updatedUser: IUser | undefined;
    isUpdatedAdmin: boolean;
    onChange: (user: IUser, isAdmin: boolean) => void;
    onSave: () => void;
    isDirty: boolean;
    isProcessing: boolean;
};
export declare const useUserGroupDetails: (userGroup: IUserGroup | undefined, onSubmit: (userGroup: IUserGroup) => void, onCancel: () => void) => {
    updatedUserGroup: IUserGroup | undefined;
    onChange: import("react").Dispatch<import("react").SetStateAction<IUserGroup | undefined>>;
    onSave: () => void;
    isDirty: boolean;
    isProcessing: boolean;
};
//# sourceMappingURL=detailsHooks.d.ts.map