/** * Copyright (c) React Native Community. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ export interface ILegacyNativeModule { multiGet( keys: Array, callback: (errors: Array, result: Array<[any, any]>) => void, ): void; multiSet( values: Array>, callback: (errors: Array) => void, ): void; multiRemove(keys: Array, callback: (errors: Array) => void): void; getAllKeys(callback: (errors: Array, keys: Array) => void): void; clear(callback: (errors: Array) => void): void; }