import type Database from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-lib/v1/metadata/Database";
import type { Group, GroupsPermissions } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import type { EntityId } from "../types";
import { DataPermissionValue } from "../types";
export declare const getDefaultGroupHasHigherAccessText: (defaultGroup: Group) => string;
export declare function getPermissionWarning(value: DataPermissionValue, defaultGroupValue: DataPermissionValue, entityType: string | null, defaultGroup: Group, groupId: Group["id"], descendingPermissions?: DataPermissionValue[]): string | null;
export declare function getPermissionWarningModal(value: DataPermissionValue, defaultGroupValue: DataPermissionValue, entityType: string | null, defaultGroup: Group, groupId: Group["id"], descendingPermissions?: DataPermissionValue[]): {
    title: string;
    message: string;
    confirmButtonText: string;
    cancelButtonText: string;
} | undefined;
export declare function getWillRevokeNativeAccessWarningModal(permissions: GroupsPermissions, groupId: number, entityId: EntityId): {
    title: string;
    message: string;
    confirmButtonText: string;
    cancelButtonText: string;
} | undefined;
export declare function getRawQueryWarningModal(permissions: GroupsPermissions, groupId: Group["id"], entityId: EntityId, value: DataPermissionValue): {
    title: string;
    message: string;
    confirmButtonText: string;
    cancelButtonText: string;
} | undefined;
export declare function getRevokingAccessToAllTablesWarningModal(database: Database, permissions: GroupsPermissions, groupId: Group["id"], entityId: EntityId, value: DataPermissionValue): {
    title: string;
    message: string;
    confirmButtonText: string;
    cancelButtonText: string;
} | undefined;
