/**
 * Utility functions to convert raw structures returned from ethers to plain
 * javascript objects.
 *
 * eg.
 *
 * ```javascript
 * [
 *   1,
 *   "hello"
 *   "a": 1,
 *   "b": "hello"
 * ]
 * ```
 *
 * to
 *
 * ```javascript
 * {
 *   "a": 1,
 *   "b": "hello"
 * }
 * ```
 */
export declare function struct(tuple: any): any;
export declare function structArray(tuples: any[]): any[];
