import { AxiosRequestConfig, AxiosRequestHeaders } from 'axios'; import { ActionResourceSchema, ReBACResourceSchema } from './types'; /** * Fetch permissions in bulk from the backend. * @deprecated This function will be removed in the next major version. * Use the `Permit` factory and its `loadLocalStateBulk` method instead. */ export declare const getBulkPermissionFromBE: (url: string, user: string, actionsResourcesList: ActionResourceSchema[], headers?: AxiosRequestHeaders, axiosConfig?: AxiosRequestConfig) => Promise; /** * Fetch a single permission from the backend. * @deprecated This function will be removed in the next major version. * Use the `Permit` factory and its `loadLocalState` or `addKeyToState` methods instead. */ export declare const getPermissionFromBE: (url: string, user: string, action: string, resource: string | ReBACResourceSchema, defaultPermission: boolean, headers?: AxiosRequestHeaders, axiosConfig?: AxiosRequestConfig) => Promise; /** * Generate a unique key for storing permission state. * @deprecated This internal utility will be removed in the next major version. * Use the `Permit` factory methods which handle state management internally. */ export declare const generateStateKey: (action: string, resource: string | ReBACResourceSchema, resourceAttributes?: Record) => string;