import * as React from 'react';
export declare enum ROLES {
    ADMINISTRATOR = "ADMINISTRATOR",
    USER = "USER"
}
export declare type RoleTypes = keyof typeof ROLES;
export declare const POLICIES: {};
export declare const useAuthorization: () => {
    checkAccess: ({ allowedRoles }: {
        allowedRoles: RoleTypes[];
    }) => boolean;
    role: any;
};
export declare type AuthorizationProps = {
    forbiddenFallback?: React.ReactNode;
    children: React.ReactNode;
} & ({
    allowedRoles: RoleTypes[];
    policyCheck?: never;
} | {
    allowedRoles?: never;
    policyCheck: boolean;
});
export declare const Authorization: ({ policyCheck, allowedRoles, forbiddenFallback, children, }: AuthorizationProps) => JSX.Element;
//# sourceMappingURL=authorization.d.ts.map