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