/** * Copyright (c) "Neo4j" * Neo4j Sweden AB [https://neo4j.com] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import Integer from '../integer'; /** * @private */ export declare class EncryptedValue { cipherOutput: Int8Array; profileName: string; profileType: string; profileVersion: Integer; typeName: string; typeProtocolMajor: Integer; typeProtocolMinor: Integer; metadata: Record; constructor(cipherOutput: Int8Array, profileName: string, profileType: string, profileVersion: number | BigInt | Integer, typeName: string, typeProtocolMajor: number | BigInt | Integer, typeProtocolMinor: number | BigInt | Integer, metadata: Record); /** * An indicator used to reliably determine if an object is a EncryptedValue or not. * @type {boolean} * @const * @expose * @private */ static __isEncryptedValue__: boolean; /** * Tests if the specified object is a EncryptedValue. * @access private * @param {*} obj Object * @returns {boolean} * @expose */ static isEncryptedValue(obj: any): obj is EncryptedValue; } /** * Check if a variable is of EncryptedValue type. * @private * @param {Mixed} value - The variable to check. * @return {Boolean} - Is it of the EncryptedValue type? */ export declare const isEnc: typeof EncryptedValue.isEncryptedValue;