import type { BaseNode } from "node-opcua-address-space-base"; export interface EnsureObjectIsSecureOptions { /** * When true, a session without one of the authorised roles cannot browse the nodes * either: the structure itself is hidden. The default (false) leaves the structure * browsable by everyone, which is what the OPC UA conformance tests expect of the * mandatory children of the well-known roles; only the values are protected. */ hideStructure?: boolean; } /** * this method install the access right restriction on the given node and its children * values will only be available to user with role Administrator or supervisor and * with a signed and encrypted channel. * * @param node the node which permissions are to be adjusted * @param options `hideStructure` to also hide the nodes from unauthorised sessions */ export declare function ensureObjectIsSecure(node: BaseNode, options?: EnsureObjectIsSecureOptions): void;