export declare function checkRoles<R>(requiredRoles: [R, ...R[]] | [boolean], role: R | R[] | undefined): boolean;
