import type { EventDetails, ScryptedInterface, ScryptedUserAccessControl } from "@scrypted/types"; /** * Scrypted Access Controls allow selective reading of state, subscription to evemts, * and invocation of methods. * Everything else should be rejected. */ export declare class AccessControls { acl: ScryptedUserAccessControl; constructor(acl: ScryptedUserAccessControl); deny(reason?: string): void; shouldRejectDevice(id: string): boolean; shouldRejectProperty(id: string, property: string): boolean; shouldRejectEvent(id: string, eventDetails: EventDetails): boolean; shouldRejectInterface(id: string, scryptedInterface: ScryptedInterface): boolean; shouldRejectMethod(id: string, method: string): boolean; }