export type SchemaValue = string | boolean | number | bigint | Record | Record[] | unknown[]; export interface SchemaItem { name: string; type: string; value: SchemaValue; } export interface SchemaItemWithSignature extends SchemaItem { signature: string; } export interface SchemaDecodedItem { name: string; type: string; signature: string; value: SchemaItem; } export declare class SchemaEncoder { schema: SchemaItemWithSignature[]; constructor(schema: string); encodeData(params: SchemaItem[]): string; decodeData(data: string): SchemaDecodedItem[]; static isSchemaValid(schema: string): boolean; isEncodedDataValid(data: string): boolean; static isCID(cid: string): boolean; static encodeQmHash(hash: string): string; static decodeQmHash(bytes32: string): string; private static getDefaultValueForTypeName; private static formatComponent; private static decodeIpfsValue; private static encodeBytes32Value; private signatures; }