Variable RichStruct

RichStruct: {
    create(
        base?: {
            fields?: {
                [key: string]:
                    | undefined
                    | {
                        bigdecimalValue?: {
                            exp?: number;
                            value?: { data?: ...; negative?: ... };
                        };
                        bigintValue?: { data?: Uint8Array; negative?: boolean };
                        boolValue?: boolean;
                        bytesValue?: Uint8Array;
                        floatValue?: number;
                        intValue?: number;
                        listValue?: { values?: (...)[] };
                        nullValue?: RichValue_NullValue;
                        stringValue?: string;
                        structValue?: { fields?: { [x: string]: { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; floatValue?: number | undefined; bytesValue?: Uint8Array | undefined; ... 7 more ...; tokenValue?: { ...; } | undefined; } | undefined; } | undefined; } | undefined;
                        timestampValue?: Date;
                        tokenValue?: {
                            amount?: { exp?: ...; value?: ... };
                            specifiedAt?: Date;
                            token?: { address?: ...; symbol?: ... };
                        };
                    };
            };
        },
    ): RichStruct;
    decode(input: Uint8Array | Reader, length?: number): RichStruct;
    encode(message: RichStruct, writer?: Writer): Writer;
    fromJSON(object: any): RichStruct;
    fromPartial(
        object: {
            fields?: {
                [key: string]:
                    | undefined
                    | {
                        bigdecimalValue?: {
                            exp?: number;
                            value?: { data?: (...)
                            | (...); negative?: (...) | (...) | (...) };
                        };
                        bigintValue?: { data?: Uint8Array; negative?: boolean };
                        boolValue?: boolean;
                        bytesValue?: Uint8Array;
                        floatValue?: number;
                        intValue?: number;
                        listValue?: {
                            values?: (
                                { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; floatValue?: number | undefined; bytesValue?: Uint8Array | undefined; ... 7 more ...; tokenValue?: { ...; } | undefined; }
                            )[];
                        };
                        nullValue?: RichValue_NullValue;
                        stringValue?: string;
                        structValue?: { fields?: { [x: string]: { nullValue?: RichValue_NullValue | undefined; intValue?: number | undefined; floatValue?: number | undefined; bytesValue?: Uint8Array | undefined; ... 7 more ...; tokenValue?: { ...; } | undefined; } | undefined; } | undefined; };
                        timestampValue?: Date;
                        tokenValue?: {
                            amount?: { exp?: (...)
                            | (...); value?: (...) | (...) };
                            specifiedAt?: Date;
                            token?: { address?: (...) | (...); symbol?: (...) | (...) };
                        };
                    };
            };
        },
    ): RichStruct;
    toJSON(message: RichStruct): unknown;
}