/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import { Schema } from '@formily/react';
import React from 'react';
export declare const ACLContext: React.Context<any>;
export declare const ACLProvider: (props: any) => React.JSX.Element;
export declare const ACLRolesCheckProvider: (props: any) => React.JSX.Element;
export declare const useRoleRecheck: () => () => void;
export declare const useCurrentRoleMode: () => any;
export declare const useACLContext: () => any;
export declare const ACLActionParamsContext: React.Context<any>;
export declare const ACLCustomContext: React.Context<any>;
export declare const useACLRolesCheck: () => {
    data: any;
    getActionAlias: (actionPath: string) => any;
    inResources: (resourceName: string) => any;
    getResourceActionParams: (actionPath: string) => any;
    getStrategyActionParams: (actionPath: string) => {};
};
export declare function useACLRoleContext(): any;
/**
 * Used to get whether the current user has permission to configure UI
 * @returns {allowConfigUI: boolean}
 */
export declare function useUIConfigurationPermissions(): {
    allowConfigUI: boolean;
};
export declare const ACLCollectionProvider: (props: any) => any;
export declare const useACLActionParamsContext: () => any;
export declare const useRecordPkValue: () => any;
export declare const ACLActionProvider: (props: any) => React.JSX.Element;
export declare const useACLFieldWhitelist: () => {
    whitelist: any[];
    schemaInWhitelist: (fieldSchema: Schema | any, isSkip?: any) => boolean;
};
export declare const ACLCollectionFieldProvider: (props: any) => React.JSX.Element;
export declare const ACLMenuItemProvider: (props: any) => React.JSX.Element;
