export declare const isItemAllowed: (itemId: T, items?: { allow?: T[] | undefined; deny?: T[] | undefined; } | undefined) => boolean;