StateResult: { create(base?: { configUpdated?: boolean; error?: string }): StateResult; decode(input: Uint8Array | Reader, length?: number): StateResult; encode(message: StateResult, writer?: Writer): Writer; fromJSON(object: any): StateResult; fromPartial( object: { configUpdated?: boolean; error?: string }, ): StateResult; toJSON(message: StateResult): unknown;}