export declare const hasPermission: (permissionToCheck: string, tokenRoles: Array) => boolean;