/** // Copyright 2023 The Lynx Authors. All rights reserved. // Licensed under the Apache License Version 2.0 that can be found in the // LICENSE file in the root directory of this source tree. */ export declare function generateRegister(registerName: RegisterStorageMapName, convertHandlerToRegistryItem: (handler: HandlerType, decoratorArgs: DecoratorArgs) => RegistryItem): (key: string, ...args: DecoratorArgs) => (this: T, target: HandlerType | undefined, context: ClassMemberDecoratorContext | ClassFieldDecoratorContext) => any;