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 { PermissionSectionConfig, TableEntityId } from "../../types";
export declare const buildFieldsPermissions: (entityId: TableEntityId, groupId: number, isAdmin: boolean, permissions: GroupsPermissions, originalPermissions: GroupsPermissions, defaultGroup: Group, database: Database) => PermissionSectionConfig[];
