import { ReactNode } from 'react';
declare type RoleCondition = string | ((roles: Set<string>) => boolean);
export interface HasRoleProps {
    children?: ReactNode;
    role: RoleCondition;
}
export declare const HasRole: React.NamedExoticComponent<HasRoleProps>;
export {};
//# sourceMappingURL=HasRole.d.ts.map