import { EventDetails, ScryptedDeviceAccessControl, ScryptedInterface, ScryptedUser, ScryptedUserAccessControl } from "."; export declare function addAccessControlsForInterface(id: string, ...scryptedInterfaces: ScryptedInterface[]): ScryptedDeviceAccessControl; export declare function mergeDeviceAccessControls(accessControls: ScryptedUserAccessControl, dacls: ScryptedDeviceAccessControl[]): ScryptedUserAccessControl; 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; } export declare function checkUserId(id: string, userId: string): Promise<(import(".").ScryptedDevice & ScryptedUser) | undefined>;