import { ODataConfig } from "../../../../fd-toolbox/odata/odataconfig";
import { PermissionCheckConfig } from "../../../../fd-toolbox/server/auth/permissions/permission-check-config";
import { ResourceMeta } from "../../core/resource-meta";
import { ResourcePermissionChecker } from "../meta-core/auth/permissions/resource-permission-checker";
import { WithId } from "../../../../fd-toolbox-core/types/resource-with-id";
export declare function checkBelowLevelIfNoPermission(oDataConfig: ODataConfig, userId: string, hasPermission: boolean, permissionCheckConfig: PermissionCheckConfig, resourceMeta: ResourceMeta, resourcePermissionChecker?: ResourcePermissionChecker): any;
export declare function filterOutIfNoPermission<T extends WithId>(resources: T[], hasPermission: boolean, permissionCheckConfig: PermissionCheckConfig, userId: string, resourceMeta: ResourceMeta, oDataConfig?: ODataConfig): Promise<T[]>;
